![]() |
AzeorthCore 3.3.5a
OpenSource WoW Emulator
|
#include <Unit.h>
Public Types | |
| typedef std::unordered_set< Unit * > | AttackerSet |
| typedef std::set< Unit * > | ControlSet |
| typedef std::multimap< uint32, Aura * > | AuraMap |
| typedef std::pair< AuraMap::const_iterator, AuraMap::const_iterator > | AuraMapBounds |
| typedef std::pair< AuraMap::iterator, AuraMap::iterator > | AuraMapBoundsNonConst |
| typedef std::multimap< uint32, AuraApplication * > | AuraApplicationMap |
| typedef std::pair< AuraApplicationMap::const_iterator, AuraApplicationMap::const_iterator > | AuraApplicationMapBounds |
| typedef std::pair< AuraApplicationMap::iterator, AuraApplicationMap::iterator > | AuraApplicationMapBoundsNonConst |
| typedef std::multimap< AuraStateType, AuraApplication * > | AuraStateAurasMap |
| typedef std::pair< AuraStateAurasMap::const_iterator, AuraStateAurasMap::const_iterator > | AuraStateAurasMapBounds |
| typedef std::list< AuraEffect * > | AuraEffectList |
| typedef std::list< Aura * > | AuraList |
| typedef std::list< AuraApplication * > | AuraApplicationList |
| typedef std::list< DiminishingReturn > | Diminishing |
| typedef GuidUnorderedSet | ComboPointHolderSet |
| typedef std::map< uint8, AuraApplication * > | VisibleAuraMap |
| typedef std::set< PetAura const * > | PetAuraSet |
Public Member Functions | |
| ~Unit () override | |
| UnitAI * | GetAI () |
| void | SetAI (UnitAI *newAI) |
| void | AddToWorld () override |
| void | RemoveFromWorld () override |
| void | CleanupBeforeRemoveFromMap (bool finalCleanup) |
| void | CleanupsBeforeDelete (bool finalCleanup=true) override |
| uint32 | GetDynamicFlags () const override |
| void | ReplaceAllDynamicFlags (uint32 flag) override |
| DiminishingLevels | GetDiminishing (DiminishingGroup group) |
| void | IncrDiminishing (DiminishingGroup group) |
| float | ApplyDiminishingToDuration (DiminishingGroup group, int32 &duration, Unit *caster, DiminishingLevels Level, int32 limitduration) |
| void | ApplyDiminishingAura (DiminishingGroup group, bool apply) |
| void | ClearDiminishings () |
| float | GetSpellMaxRangeForTarget (Unit const *target, SpellInfo const *spellInfo) const |
| float | GetSpellMinRangeForTarget (Unit const *target, SpellInfo const *spellInfo) const |
| void | Update (uint32 time) override |
| void | setAttackTimer (WeaponAttackType type, int32 time) |
| void | resetAttackTimer (WeaponAttackType type=BASE_ATTACK) |
| int32 | getAttackTimer (WeaponAttackType type) const |
| bool | isAttackReady (WeaponAttackType type=BASE_ATTACK) const |
| bool | haveOffhandWeapon () const |
| bool | CanDualWield () const |
| virtual void | SetCanDualWield (bool value) |
| float | GetCombatReach () const override |
| float | GetMeleeReach () const |
| bool | IsWithinRange (Unit const *obj, float dist) const |
| bool | IsWithinCombatRange (Unit const *obj, float dist2compare) const |
| bool | IsWithinMeleeRange (Unit const *obj, float dist=0.f) const |
| float | GetMeleeRange (Unit const *target) const |
| virtual SpellSchoolMask | GetMeleeDamageSchoolMask (WeaponAttackType attackType=BASE_ATTACK, uint8 damageIndex=0) const =0 |
| bool | GetRandomContactPoint (Unit const *target, float &x, float &y, float &z, bool force=false) const |
| void | _addAttacker (Unit *pAttacker) |
| void | _removeAttacker (Unit *pAttacker) |
| Unit * | getAttackerForHelper () const |
| bool | Attack (Unit *victim, bool meleeAttack) |
| void | CastStop (uint32 except_spellid=0, bool withInstant=true) |
| bool | AttackStop () |
| void | RemoveAllAttackers () |
| AttackerSet const & | getAttackers () const |
| bool | GetMeleeAttackPoint (Unit *attacker, Position &pos) |
| bool | isAttackingPlayer () const |
| Unit * | GetVictim () const |
| void | CombatStop (bool includingCast=false) |
| void | CombatStopWithPets (bool includingCast=false) |
| void | StopAttackFaction (uint32 faction_id) |
| void | StopAttackingInvalidTarget () |
| Unit * | SelectNearbyTarget (Unit *exclude=nullptr, float dist=NOMINAL_MELEE_RANGE) const |
| Unit * | SelectNearbyNoTotemTarget (Unit *exclude=nullptr, float dist=NOMINAL_MELEE_RANGE) const |
| void | SendMeleeAttackStop (Unit *victim=nullptr) |
| void | SendMeleeAttackStart (Unit *victim, Player *sendTo=nullptr) |
| void | AddUnitState (uint32 f) |
| bool | HasUnitState (const uint32 f) const |
| void | ClearUnitState (uint32 f) |
| uint32 | GetUnitState () const |
| bool | CanFreeMove () const |
| uint32 | HasUnitTypeMask (uint32 mask) const |
| void | AddUnitTypeMask (uint32 mask) |
| uint32 | GetUnitTypeMask () const |
| bool | IsSummon () const |
| bool | IsGuardian () const |
| bool | IsControllableGuardian () const |
| bool | IsPet () const |
| bool | IsHunterPet () const |
| bool | IsTotem () const |
| bool | IsVehicle () const |
| uint8 | getLevel () const |
| uint8 | getLevelForTarget (WorldObject const *) const override |
| void | SetLevel (uint8 lvl, bool showLevelChange=true) |
| uint8 | getRace (bool original=false) const |
| void | setRace (uint8 race) |
| uint32 | getRaceMask () const |
| uint8 | getClass () const |
| uint32 | getClassMask () const |
| uint8 | getGender () const |
| float | GetStat (Stats stat) const |
| void | SetStat (Stats stat, int32 val) |
| uint32 | GetArmor () const |
| void | SetArmor (int32 val) |
| uint32 | GetResistance (SpellSchools school) const |
| uint32 | GetResistance (SpellSchoolMask mask) const |
| void | SetResistance (SpellSchools school, int32 val) |
| uint32 | GetHealth () const |
| uint32 | GetMaxHealth () const |
| bool | IsFullHealth () const |
| bool | HealthBelowPct (int32 pct) const |
| bool | HealthBelowPctDamaged (int32 pct, uint32 damage) const |
| bool | HealthAbovePct (int32 pct) const |
| bool | HealthAbovePctHealed (int32 pct, uint32 heal) const |
| float | GetHealthPct () const |
| uint32 | CountPctFromMaxHealth (int32 pct) const |
| uint32 | CountPctFromCurHealth (int32 pct) const |
| float | GetPowerPct (Powers power) const |
| void | SetHealth (uint32 val) |
| void | SetMaxHealth (uint32 val) |
| void | SetFullHealth () |
| int32 | ModifyHealth (int32 val) |
| int32 | GetHealthGain (int32 dVal) |
| Powers | getPowerType () const |
| void | setPowerType (Powers power) |
| uint32 | GetPower (Powers power) const |
| uint32 | GetMaxPower (Powers power) const |
| void | SetPower (Powers power, uint32 val, bool withPowerUpdate=true) |
| void | SetMaxPower (Powers power, uint32 val) |
| int32 | ModifyPower (Powers power, int32 val, bool withPowerUpdate=true) |
| int32 | ModifyPowerPct (Powers power, float pct, bool apply=true) |
| uint32 | GetAttackTime (WeaponAttackType att) const |
| void | SetAttackTime (WeaponAttackType att, uint32 val) |
| void | ApplyAttackTimePercentMod (WeaponAttackType att, float val, bool apply) |
| void | ApplyCastTimePercentMod (float val, bool apply) |
| UnitFlags | GetUnitFlags () const |
| bool | HasUnitFlag (UnitFlags flags) const |
| void | SetUnitFlag (UnitFlags flags) |
| void | RemoveUnitFlag (UnitFlags flags) |
| void | ReplaceAllUnitFlags (UnitFlags flags) |
| UnitFlags2 | GetUnitFlags2 () const |
| bool | HasUnitFlag2 (UnitFlags2 flags) const |
| void | SetUnitFlag2 (UnitFlags2 flags) |
| void | RemoveUnitFlag2 (UnitFlags2 flags) |
| void | ReplaceAllUnitFlags2 (UnitFlags2 flags) |
| SheathState | GetSheath () const |
| virtual void | SetSheath (SheathState sheathed) |
| uint32 | GetFaction () const |
| void | SetFaction (uint32 faction) |
| FactionTemplateEntry const * | GetFactionTemplateEntry () const |
| ReputationRank | GetReactionTo (Unit const *target, bool checkOriginalFaction=false) const |
| ReputationRank | GetFactionReactionTo (FactionTemplateEntry const *factionTemplateEntry, Unit const *target) const |
| bool | IsHostileTo (Unit const *unit) const |
| bool | IsHostileToPlayers () const |
| bool | IsFriendlyTo (Unit const *unit) const |
| bool | IsNeutralToAll () const |
| bool | IsInPartyWith (Unit const *unit) const |
| bool | IsInRaidWith (Unit const *unit) const |
| void | GetPartyMembers (std::list< Unit * > &units) |
| bool | IsContestedGuard () const |
| bool | IsInSanctuary () const |
| bool | IsPvP () const |
| bool | IsFFAPvP () const |
| void | SetPvP (bool state) |
| uint32 | GetCreatureType () const |
| uint32 | GetCreatureTypeMask () const |
| uint8 | getStandState () const |
| bool | IsSitState () const |
| bool | IsStandState () const |
| void | SetStandState (uint8 state) |
| void | SetStandFlags (uint8 flags) |
| void | RemoveStandFlags (uint8 flags) |
| bool | IsMounted () const |
| uint32 | GetMountID () const |
| void | Mount (uint32 mount, uint32 vehicleId=0, uint32 creatureEntry=0) |
| void | Dismount () |
| uint16 | GetMaxSkillValueForLevel (Unit const *target=nullptr) const |
| void | ProcDamageAndSpellFor (bool isVictim, Unit *target, uint32 procFlag, uint32 procExtra, WeaponAttackType attType, SpellInfo const *procSpellInfo, uint32 damage, SpellInfo const *procAura=nullptr, int8 procAuraEffectIndex=-1, Spell const *procSpell=nullptr, DamageInfo *damageInfo=nullptr, HealInfo *healInfo=nullptr, uint32 procPhase=2) |
| void | GetProcAurasTriggeredOnEvent (std::list< AuraApplication * > &aurasTriggeringProc, std::list< AuraApplication * > *procAuras, ProcEventInfo eventInfo) |
| void | TriggerAurasProcOnEvent (CalcDamageInfo &damageInfo) |
| void | TriggerAurasProcOnEvent (std::list< AuraApplication * > *myProcAuras, std::list< AuraApplication * > *targetProcAuras, Unit *actionTarget, uint32 typeMaskActor, uint32 typeMaskActionTarget, uint32 spellTypeMask, uint32 spellPhaseMask, uint32 hitMask, Spell *spell, DamageInfo *damageInfo, HealInfo *healInfo) |
| void | TriggerAurasProcOnEvent (ProcEventInfo &eventInfo, std::list< AuraApplication * > &procAuras) |
| void | HandleEmoteCommand (uint32 emoteId) |
| void | AttackerStateUpdate (Unit *victim, WeaponAttackType attType=BASE_ATTACK, bool extra=false, bool ignoreCasting=false) |
| void | CalculateMeleeDamage (Unit *victim, CalcDamageInfo *damageInfo, WeaponAttackType attackType=BASE_ATTACK, const bool sittingVictim=false) |
| void | DealMeleeDamage (CalcDamageInfo *damageInfo, bool durabilityLoss) |
| void | HandleProcExtraAttackFor (Unit *victim, uint32 count) |
| void | SetLastExtraAttackSpell (uint32 spellId) |
| uint32 | GetLastExtraAttackSpell () const |
| void | AddExtraAttacks (uint32 count) |
| void | SetLastDamagedTargetGuid (ObjectGuid const &guid) |
| ObjectGuid const & | GetLastDamagedTargetGuid () const |
| void | CalculateSpellDamageTaken (SpellNonMeleeDamage *damageInfo, int32 damage, SpellInfo const *spellInfo, WeaponAttackType attackType=BASE_ATTACK, bool crit=false) |
| void | DealSpellDamage (SpellNonMeleeDamage *damageInfo, bool durabilityLoss, Spell const *spell=nullptr) |
| float | GetMeleeCritChanceReduction () const |
| float | GetRangedCritChanceReduction () const |
| float | GetSpellCritChanceReduction () const |
| uint32 | GetMeleeCritDamageReduction (uint32 damage) const |
| uint32 | GetRangedCritDamageReduction (uint32 damage) const |
| uint32 | GetSpellCritDamageReduction (uint32 damage) const |
| uint32 | GetMeleeDamageReduction (uint32 damage) const |
| uint32 | GetRangedDamageReduction (uint32 damage) const |
| uint32 | GetSpellDamageReduction (uint32 damage) const |
| float | MeleeSpellMissChance (Unit const *victim, WeaponAttackType attType, int32 skillDiff, uint32 spellId) const |
| SpellMissInfo | MeleeSpellHitResult (Unit *victim, SpellInfo const *spell) |
| SpellMissInfo | MagicSpellHitResult (Unit *victim, SpellInfo const *spell) |
| SpellMissInfo | SpellHitResult (Unit *victim, SpellInfo const *spell, bool canReflect=false) |
| SpellMissInfo | SpellHitResult (Unit *victim, Spell const *spell, bool canReflect=false) |
| float | GetUnitDodgeChance () const |
| float | GetUnitParryChance () const |
| float | GetUnitBlockChance () const |
| float | GetUnitMissChance (WeaponAttackType attType) const |
| float | GetUnitCriticalChance (WeaponAttackType attackType, Unit const *victim) const |
| int32 | GetMechanicResistChance (SpellInfo const *spell) |
| bool | CanUseAttackType (uint8 attacktype) const |
| virtual uint32 | GetShieldBlockValue () const =0 |
| uint32 | GetShieldBlockValue (uint32 soft_cap, uint32 hard_cap) const |
| uint32 | GetUnitMeleeSkill (Unit const *target=nullptr) const |
| uint32 | GetDefenseSkillValue (Unit const *target=nullptr) const |
| uint32 | GetWeaponSkillValue (WeaponAttackType attType, Unit const *target=nullptr) const |
| float | GetWeaponProcChance () const |
| float | GetPPMProcChance (uint32 WeaponSpeed, float PPM, SpellInfo const *spellProto) const |
| MeleeHitOutcome | RollMeleeOutcomeAgainst (Unit const *victim, WeaponAttackType attType) const |
| MeleeHitOutcome | RollMeleeOutcomeAgainst (Unit const *victim, WeaponAttackType attType, int32 crit_chance, int32 miss_chance, int32 dodge_chance, int32 parry_chance, int32 block_chance) const |
| NPCFlags | GetNpcFlags () const |
| bool | HasNpcFlag (NPCFlags flags) const |
| void | SetNpcFlag (NPCFlags flags) |
| void | RemoveNpcFlag (NPCFlags flags) |
| void | ReplaceAllNpcFlags (NPCFlags flags) |
| bool | IsVendor () const |
| bool | IsTrainer () const |
| bool | IsQuestGiver () const |
| bool | IsGossip () const |
| bool | IsTaxi () const |
| bool | IsGuildMaster () const |
| bool | IsBattleMaster () const |
| bool | IsBanker () const |
| bool | IsInnkeeper () const |
| bool | IsSpiritHealer () const |
| bool | IsSpiritGuide () const |
| bool | IsTabardDesigner () const |
| bool | IsAuctioner () const |
| bool | IsArmorer () const |
| bool | IsServiceProvider () const |
| bool | IsSpiritService () const |
| bool | IsCritter () const |
| bool | IsInFlight () const |
| void | SetImmuneToAll (bool apply, bool keepCombat=false) |
| bool | IsImmuneToAll () const |
| void | SetImmuneToPC (bool apply, bool keepCombat=false) |
| bool | IsImmuneToPC () const |
| void | SetImmuneToNPC (bool apply, bool keepCombat=false) |
| bool | IsImmuneToNPC () const |
| bool | IsEngaged () const |
| bool | IsEngagedBy (Unit const *who) const |
| bool | IsInCombat () const |
| bool | IsInCombatWith (Unit const *who) const |
| bool | IsPetInCombat () const |
| void | CombatStart (Unit *target, bool initialAggro=true) |
| void | CombatStartOnCast (Unit *target, bool initialAggro=true, uint32 duration=0) |
| void | SetInCombatState (bool PvP, Unit *enemy=nullptr, uint32 duration=0) |
| void | SetInCombatWith (Unit *enemy, uint32 duration=0) |
| void | ClearInCombat () |
| void | ClearInPetCombat () |
| uint32 | GetCombatTimer () const |
| void | SetCombatTimer (uint32 timer) |
| bool | HasAuraTypeWithFamilyFlags (AuraType auraType, uint32 familyName, uint32 familyFlags) const |
| virtual bool | HasSpell (uint32) const |
| bool | HasBreakableByDamageAuraType (AuraType type, uint32 excludeAura=0) const |
| bool | HasBreakableByDamageCrowdControlAura (Unit *excludeCasterChannel=nullptr) const |
| bool | HasStealthAura () const |
| bool | HasInvisibilityAura () const |
| bool | isFeared () const |
| bool | isInRoots () const |
| bool | IsPolymorphed () const |
| bool | isFrozen () const |
| bool | isTargetableForAttack (bool checkFakeDeath=true, Unit const *byWho=nullptr) const |
| bool | IsValidAttackTarget (Unit const *target) const |
| bool | _IsValidAttackTarget (Unit const *target, SpellInfo const *bySpell, WorldObject const *obj=nullptr) const |
| bool | IsValidAssistTarget (Unit const *target) const |
| bool | _IsValidAssistTarget (Unit const *target, SpellInfo const *bySpell) const |
| virtual bool | IsInWater () const |
| virtual bool | IsUnderWater () const |
| bool | isInAccessiblePlaceFor (Creature const *c) const |
| void | SendHealSpellLog (Unit *victim, uint32 SpellID, uint32 Damage, uint32 OverHeal, uint32 Absorb, bool critical=false) |
| int32 | HealBySpell (HealInfo &healInfo, bool critical=false) |
| void | SendEnergizeSpellLog (Unit *victim, uint32 SpellID, uint32 Damage, Powers powertype) |
| void | EnergizeBySpell (Unit *victim, uint32 SpellID, uint32 Damage, Powers powertype) |
| SpellCastResult | CastSpell (SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty) |
| SpellCastResult | CastSpell (Unit *victim, uint32 spellId, bool triggered, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty) |
| SpellCastResult | CastSpell (Unit *victim, uint32 spellId, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty) |
| SpellCastResult | CastSpell (Unit *victim, SpellInfo const *spellInfo, bool triggered, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty) |
| SpellCastResult | CastSpell (Unit *victim, SpellInfo const *spellInfo, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty) |
| SpellCastResult | CastSpell (float x, float y, float z, uint32 spellId, bool triggered, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty) |
| SpellCastResult | CastSpell (GameObject *go, uint32 spellId, bool triggered, Item *castItem=nullptr, AuraEffect *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty) |
| SpellCastResult | CastCustomSpell (Unit *victim, uint32 spellId, int32 const *bp0, int32 const *bp1, int32 const *bp2, bool triggered, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty) |
| SpellCastResult | CastCustomSpell (uint32 spellId, SpellValueMod mod, int32 value, Unit *victim, bool triggered, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty) |
| SpellCastResult | CastCustomSpell (uint32 spellId, SpellValueMod mod, int32 value, Unit *victim=nullptr, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty) |
| SpellCastResult | CastCustomSpell (uint32 spellId, CustomSpellValues const &value, Unit *victim=nullptr, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty) |
| Aura * | AddAura (uint32 spellId, Unit *target) |
| Aura * | AddAura (SpellInfo const *spellInfo, uint8 effMask, Unit *target) |
| void | SetAuraStack (uint32 spellId, Unit *target, uint32 stack) |
| void | SendPlaySpellVisual (uint32 id) |
| void | SendPlaySpellImpact (ObjectGuid guid, uint32 id) |
| void | BuildCooldownPacket (WorldPacket &data, uint8 flags, uint32 spellId, uint32 cooldown) |
| void | BuildCooldownPacket (WorldPacket &data, uint8 flags, PacketCooldowns const &cooldowns) |
| void | DeMorph () |
| void | SendAttackStateUpdate (CalcDamageInfo *damageInfo) |
| void | SendAttackStateUpdate (uint32 HitInfo, Unit *target, uint8 SwingType, SpellSchoolMask damageSchoolMask, uint32 Damage, uint32 AbsorbDamage, uint32 Resist, VictimState TargetState, uint32 BlockedAmount) |
| void | SendSpellNonMeleeDamageLog (SpellNonMeleeDamage *log) |
| void | SendSpellNonMeleeReflectLog (SpellNonMeleeDamage *log, Unit *attacker) |
| void | SendSpellNonMeleeDamageLog (Unit *target, SpellInfo const *spellInfo, uint32 Damage, SpellSchoolMask damageSchoolMask, uint32 AbsorbedDamage, uint32 Resist, bool PhysicalDamage, uint32 Blocked, bool CriticalHit=false, bool Split=false) |
| void | SendPeriodicAuraLog (SpellPeriodicAuraLogInfo *pInfo) |
| void | SendSpellMiss (Unit *target, uint32 spellID, SpellMissInfo missInfo) |
| void | SendSpellDamageResist (Unit *target, uint32 spellId) |
| void | SendSpellDamageImmune (Unit *target, uint32 spellId) |
| void | NearTeleportTo (Position &pos, bool casting=false, bool vehicleTeleport=false, bool withPet=false, bool removeTransport=false) |
| void | NearTeleportTo (float x, float y, float z, float orientation, bool casting=false, bool vehicleTeleport=false, bool withPet=false, bool removeTransport=false) |
| void | SendTameFailure (uint8 result) |
| void | SendTeleportPacket (Position &pos) |
| virtual bool | UpdatePosition (float x, float y, float z, float ang, bool teleport=false) |
| bool | UpdatePosition (const Position &pos, bool teleport=false) |
| void | UpdateOrientation (float orientation) |
| Only server-side orientation update, does not broadcast to client. More... | |
| void | UpdateHeight (float newZ) |
| Only server-side height update, does not broadcast to client. More... | |
| void | KnockbackFrom (float x, float y, float speedXY, float speedZ) |
| void | JumpTo (float speedXY, float speedZ, bool forward=true) |
| void | JumpTo (WorldObject *obj, float speedZ) |
| void | SendMonsterMove (float NewPosX, float NewPosY, float NewPosZ, uint32 TransitTime, SplineFlags sf=SPLINEFLAG_WALK_MODE) |
| void | MonsterMoveWithSpeed (float x, float y, float z, float speed) |
| void | SendMovementFlagUpdate (bool self=false) |
| virtual bool | SetWalk (bool enable) |
| virtual bool | SetDisableGravity (bool disable, bool packetOnly=false, bool updateAnimationTier=true) |
| virtual bool | SetSwim (bool enable) |
| virtual bool | SetCanFly (bool enable, bool packetOnly=false) |
| virtual bool | SetWaterWalking (bool enable, bool packetOnly=false) |
| virtual bool | SetFeatherFall (bool enable, bool packetOnly=false) |
| virtual bool | SetHover (bool enable, bool packetOnly=false, bool updateAnimationTier=true) |
| void | SendMovementWaterWalking (Player *sendTo) |
| void | SendMovementFeatherFall (Player *sendTo) |
| void | SendMovementHover (Player *sendTo) |
| void | SetInFront (WorldObject const *target) |
| void | SetFacingTo (float ori) |
| void | SetFacingToObject (WorldObject *object) |
| void | SendChangeCurrentVictimOpcode (HostileReference *pHostileReference) |
| void | SendClearThreatListOpcode () |
| void | SendRemoveFromThreatListOpcode (HostileReference *pHostileReference) |
| void | SendThreatListUpdate () |
| void | SendClearTarget () |
| void | BuildHeartBeatMsg (WorldPacket *data) const |
| bool | IsAlive () const |
| bool | isDying () const |
| bool | isDead () const |
| DeathState | getDeathState () |
| virtual void | setDeathState (DeathState s, bool despawn=false) |
| ObjectGuid | GetOwnerGUID () const |
| void | SetOwnerGUID (ObjectGuid owner) |
| ObjectGuid | GetCreatorGUID () const |
| void | SetCreatorGUID (ObjectGuid creator) |
| ObjectGuid | GetMinionGUID () const |
| void | SetMinionGUID (ObjectGuid guid) |
| ObjectGuid | GetCharmerGUID () const |
| void | SetCharmerGUID (ObjectGuid owner) |
| ObjectGuid | GetCharmGUID () const |
| void | SetPetGUID (ObjectGuid guid) |
| ObjectGuid | GetPetGUID () const |
| void | SetCritterGUID (ObjectGuid guid) |
| ObjectGuid | GetCritterGUID () const |
| bool | IsControlledByPlayer () const |
| bool | IsCreatedByPlayer () const |
| ObjectGuid | GetCharmerOrOwnerGUID () const |
| ObjectGuid | GetCharmerOrOwnerOrOwnGUID () const |
| bool | IsCharmedOwnedByPlayerOrPlayer () const |
| Player * | GetSpellModOwner () const |
| Unit * | GetOwner () const |
| Guardian * | GetGuardianPet () const |
| Minion * | GetFirstMinion () const |
| Unit * | GetCharmer () const |
| Unit * | GetCharm () const |
| Unit * | GetCharmerOrOwner () const |
| Unit * | GetCharmerOrOwnerOrSelf () const |
| Player * | GetCharmerOrOwnerPlayerOrPlayerItself () const |
| Player * | GetAffectingPlayer () const |
| void | SetMinion (Minion *minion, bool apply) |
| void | GetAllMinionsByEntry (std::list< Creature * > &Minions, uint32 entry) |
| void | RemoveAllMinionsByEntry (uint32 entry) |
| void | SetCharm (Unit *target, bool apply) |
| Unit * | GetNextRandomRaidMemberOrPet (float radius) |
| bool | SetCharmedBy (Unit *charmer, CharmType type, AuraApplication const *aurApp=nullptr) |
| void | RemoveCharmedBy (Unit *charmer) |
| void | RestoreFaction () |
| Unit * | GetFirstControlled () const |
| void | RemoveAllControlled (bool onDeath=false) |
| bool | IsCharmed () const |
| bool | isPossessed () const |
| bool | isPossessedByPlayer () const |
| bool | isPossessing () const |
| bool | isPossessing (Unit *u) const |
| CharmInfo * | GetCharmInfo () |
| CharmInfo * | InitCharmInfo () |
| void | DeleteCharmInfo () |
| void | UpdateCharmAI () |
| SharedVisionList const & | GetSharedVisionList () |
| void | AddPlayerToVision (Player *player) |
| void | RemovePlayerFromVision (Player *player) |
| bool | HasSharedVision () const |
| void | RemoveBindSightAuras () |
| void | RemoveCharmAuras () |
| Pet * | CreateTamedPetFrom (Creature *creatureTarget, uint32 spell_id=0) |
| Pet * | CreateTamedPetFrom (uint32 creatureEntry, uint32 spell_id=0) |
| bool | InitTamedPet (Pet *pet, uint8 level, uint32 spell_id) |
| Aura * | _TryStackingOrRefreshingExistingAura (SpellInfo const *newAura, uint8 effMask, Unit *caster, int32 *baseAmount=nullptr, Item *castItem=nullptr, ObjectGuid casterGUID=ObjectGuid::Empty, bool periodicReset=false) |
| void | _AddAura (UnitAura *aura, Unit *caster) |
| AuraApplication * | _CreateAuraApplication (Aura *aura, uint8 effMask) |
| void | _ApplyAuraEffect (Aura *aura, uint8 effIndex) |
| void | _ApplyAura (AuraApplication *aurApp, uint8 effMask) |
| void | _UnapplyAura (AuraApplicationMap::iterator &i, AuraRemoveMode removeMode) |
| void | _UnapplyAura (AuraApplication *aurApp, AuraRemoveMode removeMode) |
| void | _RemoveNoStackAuraApplicationsDueToAura (Aura *aura) |
| void | _RemoveNoStackAurasDueToAura (Aura *aura) |
| bool | _IsNoStackAuraDueToAura (Aura *appliedAura, Aura *existingAura) const |
| void | _RegisterAuraEffect (AuraEffect *aurEff, bool apply) |
| AuraMap & | GetOwnedAuras () |
| AuraMap const & | GetOwnedAuras () const |
| void | RemoveOwnedAura (AuraMap::iterator &i, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT) |
| void | RemoveOwnedAura (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT) |
| void | RemoveOwnedAura (Aura *aura, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT) |
| Aura * | GetOwnedAura (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, Aura *except=nullptr) const |
| AuraApplicationMap & | GetAppliedAuras () |
| AuraApplicationMap const & | GetAppliedAuras () const |
| void | RemoveAura (AuraApplicationMap::iterator &i, AuraRemoveMode mode=AURA_REMOVE_BY_DEFAULT) |
| void | RemoveAura (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT) |
| void | RemoveAura (AuraApplication *aurApp, AuraRemoveMode mode=AURA_REMOVE_BY_DEFAULT) |
| void | RemoveAura (Aura *aur, AuraRemoveMode mode=AURA_REMOVE_BY_DEFAULT) |
| void | RemoveAppliedAuras (std::function< bool(AuraApplication const *)> const &check) |
| void | RemoveOwnedAuras (std::function< bool(Aura const *)> const &check) |
| void | RemoveAppliedAuras (uint32 spellId, std::function< bool(AuraApplication const *)> const &check) |
| void | RemoveOwnedAuras (uint32 spellId, std::function< bool(Aura const *)> const &check) |
| void | RemoveAurasDueToSpell (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT) |
| void | RemoveAuraFromStack (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT) |
| void | RemoveAurasDueToSpellByDispel (uint32 spellId, uint32 dispellerSpellId, ObjectGuid casterGUID, Unit *dispeller, uint8 chargesRemoved=1) |
| void | RemoveAurasDueToSpellBySteal (uint32 spellId, ObjectGuid casterGUID, Unit *stealer) |
| void | RemoveAurasDueToItemSpell (uint32 spellId, ObjectGuid castItemGuid) |
| void | RemoveAurasByType (AuraType auraType, ObjectGuid casterGUID=ObjectGuid::Empty, Aura *except=nullptr, bool negative=true, bool positive=true) |
| void | RemoveNotOwnSingleTargetAuras () |
| void | RemoveAurasWithInterruptFlags (uint32 flag, uint32 except=0, bool isAutoshot=false) |
| void | RemoveAurasWithAttribute (uint32 flags) |
| void | RemoveAurasWithFamily (SpellFamilyNames family, uint32 familyFlag1, uint32 familyFlag2, uint32 familyFlag3, ObjectGuid casterGUID) |
| void | RemoveAurasWithMechanic (uint32 mechanic_mask, AuraRemoveMode removemode=AURA_REMOVE_BY_DEFAULT, uint32 except=0) |
| void | RemoveMovementImpairingAuras (bool withRoot) |
| void | RemoveAurasByShapeShift () |
| void | RemoveAreaAurasDueToLeaveWorld () |
| void | RemoveAllAuras () |
| void | RemoveArenaAuras () |
| void | RemoveAllAurasOnDeath () |
| void | RemoveAllAurasRequiringDeadTarget () |
| void | RemoveAllAurasExceptType (AuraType type) |
| void | RemoveEvadeAuras () |
| void | DelayOwnedAuras (uint32 spellId, ObjectGuid caster, int32 delaytime) |
| void | _RemoveAllAuraStatMods () |
| void | _ApplyAllAuraStatMods () |
| AuraEffectList const & | GetAuraEffectsByType (AuraType type) const |
| AuraList & | GetSingleCastAuras () |
| AuraList const & | GetSingleCastAuras () const |
| AuraEffect * | GetAuraEffect (uint32 spellId, uint8 effIndex, ObjectGuid casterGUID=ObjectGuid::Empty) const |
| AuraEffect * | GetAuraEffectOfRankedSpell (uint32 spellId, uint8 effIndex, ObjectGuid casterGUID=ObjectGuid::Empty) const |
| AuraEffect * | GetAuraEffect (AuraType type, SpellFamilyNames name, uint32 iconId, uint8 effIndex) const |
| AuraEffect * | GetAuraEffect (AuraType type, SpellFamilyNames family, uint32 familyFlag1, uint32 familyFlag2, uint32 familyFlag3, ObjectGuid casterGUID=ObjectGuid::Empty) const |
| AuraEffect * | GetAuraEffectDummy (uint32 spellid) const |
| AuraEffect * | GetDummyAuraEffect (SpellFamilyNames name, uint32 iconId, uint8 effIndex) const |
| AuraApplication * | GetAuraApplication (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, AuraApplication *except=nullptr) const |
| Aura * | GetAura (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0) const |
| AuraApplication * | GetAuraApplicationOfRankedSpell (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, AuraApplication *except=nullptr) const |
| Aura * | GetAuraOfRankedSpell (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0) const |
| void | GetDispellableAuraList (Unit *caster, uint32 dispelMask, DispelChargesList &dispelList) |
| bool | HasAuraEffect (uint32 spellId, uint8 effIndex, ObjectGuid caster=ObjectGuid::Empty) const |
| uint32 | GetAuraCount (uint32 spellId) const |
| bool | HasAura (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0) const |
| bool | HasAuraType (AuraType auraType) const |
| bool | HasAuraTypeWithCaster (AuraType auratype, ObjectGuid caster) const |
| bool | HasAuraTypeWithMiscvalue (AuraType auratype, int32 miscvalue) const |
| bool | HasAuraTypeWithAffectMask (AuraType auratype, SpellInfo const *affectedSpell) const |
| bool | HasAuraTypeWithValue (AuraType auratype, int32 value) const |
| bool | HasAuraTypeWithTriggerSpell (AuraType auratype, uint32 triggerSpell) const |
| bool | HasNegativeAuraWithInterruptFlag (uint32 flag, ObjectGuid guid=ObjectGuid::Empty) |
| bool | HasVisibleAuraType (AuraType auraType) const |
| bool | HasNegativeAuraWithAttribute (uint32 flag, ObjectGuid guid=ObjectGuid::Empty) |
| bool | HasAuraWithMechanic (uint32 mechanicMask) const |
| AuraEffect * | IsScriptOverriden (SpellInfo const *spell, int32 script) const |
| uint32 | GetDiseasesByCaster (ObjectGuid casterGUID, uint8 mode=0) |
| uint32 | GetDoTsByCaster (ObjectGuid casterGUID) const |
| int32 | GetTotalAuraModifierAreaExclusive (AuraType auratype) const |
| int32 | GetTotalAuraModifier (AuraType auratype) const |
| float | GetTotalAuraMultiplier (AuraType auratype) const |
| int32 | GetMaxPositiveAuraModifier (AuraType auratype) |
| int32 | GetMaxNegativeAuraModifier (AuraType auratype) const |
| int32 | GetTotalAuraModifierByMiscMask (AuraType auratype, uint32 misc_mask) const |
| float | GetTotalAuraMultiplierByMiscMask (AuraType auratype, uint32 misc_mask) const |
| int32 | GetMaxPositiveAuraModifierByMiscMask (AuraType auratype, uint32 misc_mask, const AuraEffect *except=nullptr) const |
| int32 | GetMaxNegativeAuraModifierByMiscMask (AuraType auratype, uint32 misc_mask) const |
| int32 | GetTotalAuraModifierByMiscValue (AuraType auratype, int32 misc_value) const |
| float | GetTotalAuraMultiplierByMiscValue (AuraType auratype, int32 misc_value) const |
| int32 | GetMaxPositiveAuraModifierByMiscValue (AuraType auratype, int32 misc_value) const |
| int32 | GetMaxNegativeAuraModifierByMiscValue (AuraType auratype, int32 misc_value) const |
| int32 | GetTotalAuraModifierByAffectMask (AuraType auratype, SpellInfo const *affectedSpell) const |
| float | GetTotalAuraMultiplierByAffectMask (AuraType auratype, SpellInfo const *affectedSpell) const |
| int32 | GetMaxPositiveAuraModifierByAffectMask (AuraType auratype, SpellInfo const *affectedSpell) const |
| int32 | GetMaxNegativeAuraModifierByAffectMask (AuraType auratype, SpellInfo const *affectedSpell) const |
| float | GetResistanceBuffMods (SpellSchools school, bool positive) const |
| void | SetResistanceBuffMods (SpellSchools school, bool positive, float val) |
| void | ApplyResistanceBuffModsMod (SpellSchools school, bool positive, float val, bool apply) |
| void | ApplyResistanceBuffModsPercentMod (SpellSchools school, bool positive, float val, bool apply) |
| void | InitStatBuffMods () |
| void | ApplyStatBuffMod (Stats stat, float val, bool apply) |
| void | ApplyStatPercentBuffMod (Stats stat, float val, bool apply) |
| void | SetCreateStat (Stats stat, float val) |
| void | SetCreateHealth (uint32 val) |
| uint32 | GetCreateHealth () const |
| void | SetCreateMana (uint32 val) |
| uint32 | GetCreateMana () const |
| uint32 | GetCreatePowers (Powers power) const |
| float | GetPosStat (Stats stat) const |
| float | GetNegStat (Stats stat) const |
| float | GetCreateStat (Stats stat) const |
| void | SetCurrentCastedSpell (Spell *pSpell) |
| virtual void | ProhibitSpellSchool (SpellSchoolMask, uint32) |
| void | InterruptSpell (CurrentSpellTypes spellType, bool withDelayed=true, bool withInstant=true, bool bySelf=false) |
| void | FinishSpell (CurrentSpellTypes spellType, bool ok=true) |
| bool | IsNonMeleeSpellCast (bool withDelayed, bool skipChanneled=false, bool skipAutorepeat=false, bool isAutoshoot=false, bool skipInstant=true) const |
| void | InterruptNonMeleeSpells (bool withDelayed, uint32 spellid=0, bool withInstant=true, bool bySelf=false) |
| Spell * | GetCurrentSpell (CurrentSpellTypes spellType) const |
| Spell * | GetCurrentSpell (uint32 spellType) const |
| Spell * | FindCurrentSpellBySpellId (uint32 spell_id) const |
| int32 | GetCurrentSpellCastTime (uint32 spell_id) const |
| virtual bool | IsMovementPreventedByCasting () const |
| ShapeshiftForm | GetShapeshiftForm () const |
| void | SetShapeshiftForm (ShapeshiftForm form) |
| bool | IsInFeralForm () const |
| bool | IsInDisallowedMountForm () const |
| bool | HandleStatModifier (UnitMods unitMod, UnitModifierType modifierType, float amount, bool apply) |
| void | SetModifierValue (UnitMods unitMod, UnitModifierType modifierType, float value) |
| float | GetModifierValue (UnitMods unitMod, UnitModifierType modifierType) const |
| float | GetTotalStatValue (Stats stat, float additionalValue=0.0f) const |
| float | GetTotalAuraModValue (UnitMods unitMod) const |
| SpellSchools | GetSpellSchoolByAuraGroup (UnitMods unitMod) const |
| Stats | GetStatByAuraGroup (UnitMods unitMod) const |
| Powers | GetPowerTypeByAuraGroup (UnitMods unitMod) const |
| bool | CanModifyStats () const |
| void | SetCanModifyStats (bool modifyStats) |
| virtual bool | UpdateStats (Stats stat)=0 |
| virtual bool | UpdateAllStats ()=0 |
| virtual void | UpdateResistances (uint32 school)=0 |
| virtual void | UpdateAllResistances () |
| virtual void | UpdateArmor ()=0 |
| virtual void | UpdateMaxHealth ()=0 |
| virtual void | UpdateMaxPower (Powers power)=0 |
| virtual void | UpdateAttackPowerAndDamage (bool ranged=false)=0 |
| virtual void | UpdateDamagePhysical (WeaponAttackType attType) |
| float | GetTotalAttackPowerValue (WeaponAttackType attType, Unit *pVictim=nullptr) const |
| float | GetWeaponDamageRange (WeaponAttackType attType, WeaponDamageRange type, uint8 damageIndex=0) const |
| void | SetBaseWeaponDamage (WeaponAttackType attType, WeaponDamageRange damageRange, float value, uint8 damageIndex=0) |
| virtual void | CalculateMinMaxDamage (WeaponAttackType attType, bool normalized, bool addTotalPct, float &minDamage, float &maxDamage, uint8 damageIndex=0)=0 |
| uint32 | CalculateDamage (WeaponAttackType attType, bool normalized, bool addTotalPct, uint8 itemDamagesMask=0) |
| float | GetAPMultiplier (WeaponAttackType attType, bool normalized) |
| bool | isInFrontInMap (Unit const *target, float distance, float arc=M_PI) const |
| bool | isInBackInMap (Unit const *target, float distance, float arc=M_PI) const |
| bool | IsVisible () const |
| void | SetVisible (bool x) |
| void | SetModelVisible (bool on) |
| uint32 | GetPhaseByAuras () const |
| void | SetPhaseMask (uint32 newPhaseMask, bool update) override |
| void | UpdateObjectVisibility (bool forced=true, bool fromUpdate=false) override |
| bool | CanHaveThreatList () const |
| void | AddThreat (Unit *victim, float fThreat, SpellSchoolMask schoolMask=SPELL_SCHOOL_MASK_NORMAL, SpellInfo const *threatSpell=nullptr) |
| float | ApplyTotalThreatModifier (float fThreat, SpellSchoolMask schoolMask=SPELL_SCHOOL_MASK_NORMAL) |
| void | TauntApply (Unit *victim) |
| void | TauntFadeOut (Unit *taunter) |
| ThreatMgr & | GetThreatMgr () |
| ThreatMgr const & | GetThreatMgr () const |
| void | addHatedBy (HostileReference *pHostileReference) |
| void | removeHatedBy (HostileReference *) |
| HostileRefMgr & | getHostileRefMgr () |
| VisibleAuraMap const * | GetVisibleAuras () |
| AuraApplication * | GetVisibleAura (uint8 slot) |
| void | SetVisibleAura (uint8 slot, AuraApplication *aur) |
| void | RemoveVisibleAura (uint8 slot) |
| uint32 | GetInterruptMask () const |
| void | AddInterruptMask (uint32 mask) |
| void | UpdateInterruptMask () |
| uint32 | GetDisplayId () const |
| virtual void | SetDisplayId (uint32 modelId) |
| uint32 | GetNativeDisplayId () const |
| void | RestoreDisplayId () |
| void | SetNativeDisplayId (uint32 modelId) |
| void | setTransForm (uint32 spellid) |
| uint32 | getTransForm () const |
| void | _RegisterDynObject (DynamicObject *dynObj) |
| void | _UnregisterDynObject (DynamicObject *dynObj) |
| DynamicObject * | GetDynObject (uint32 spellId) |
| bool | RemoveDynObject (uint32 spellId) |
| void | RemoveAllDynObjects () |
| GameObject * | GetGameObject (uint32 spellId) const |
| void | AddGameObject (GameObject *gameObj) |
| void | RemoveGameObject (GameObject *gameObj, bool del) |
| void | RemoveGameObject (uint32 spellid, bool del) |
| void | RemoveAllGameObjects () |
| void | ModifyAuraState (AuraStateType flag, bool apply) |
| uint32 | BuildAuraStateUpdateForTarget (Unit *target) const |
| bool | HasAuraState (AuraStateType flag, SpellInfo const *spellProto=nullptr, Unit const *Caster=nullptr) const |
| void | UnsummonAllTotems (bool onDeath=false) |
| Unit * | GetMagicHitRedirectTarget (Unit *victim, SpellInfo const *spellInfo) |
| Unit * | GetMeleeHitRedirectTarget (Unit *victim, SpellInfo const *spellInfo=nullptr) |
| int32 | SpellBaseDamageBonusDone (SpellSchoolMask schoolMask) |
| int32 | SpellBaseDamageBonusTaken (SpellSchoolMask schoolMask, bool isDoT=false) |
| float | SpellPctDamageModsDone (Unit *victim, SpellInfo const *spellProto, DamageEffectType damagetype) |
| uint32 | SpellDamageBonusDone (Unit *victim, SpellInfo const *spellProto, uint32 pdamage, DamageEffectType damagetype, uint8 effIndex, float TotalMod=0.0f, uint32 stack=1) |
| uint32 | SpellDamageBonusTaken (Unit *caster, SpellInfo const *spellProto, uint32 pdamage, DamageEffectType damagetype, uint32 stack=1) |
| int32 | SpellBaseHealingBonusDone (SpellSchoolMask schoolMask) |
| int32 | SpellBaseHealingBonusTaken (SpellSchoolMask schoolMask) |
| float | SpellPctHealingModsDone (Unit *victim, SpellInfo const *spellProto, DamageEffectType damagetype) |
| uint32 | SpellHealingBonusDone (Unit *victim, SpellInfo const *spellProto, uint32 healamount, DamageEffectType damagetype, uint8 effIndex, float TotalMod=0.0f, uint32 stack=1) |
| uint32 | SpellHealingBonusTaken (Unit *caster, SpellInfo const *spellProto, uint32 healamount, DamageEffectType damagetype, uint32 stack=1) |
| uint32 | MeleeDamageBonusDone (Unit *pVictim, uint32 damage, WeaponAttackType attType, SpellInfo const *spellProto=nullptr, SpellSchoolMask damageSchoolMask=SPELL_SCHOOL_MASK_NORMAL) |
| uint32 | MeleeDamageBonusTaken (Unit *attacker, uint32 pdamage, WeaponAttackType attType, SpellInfo const *spellProto=nullptr, SpellSchoolMask damageSchoolMask=SPELL_SCHOOL_MASK_NORMAL) |
| bool | isSpellBlocked (Unit *victim, SpellInfo const *spellProto, WeaponAttackType attackType=BASE_ATTACK) |
| bool | isBlockCritical () |
| float | SpellDoneCritChance (Unit const *, SpellInfo const *spellProto, SpellSchoolMask schoolMask, WeaponAttackType attackType, bool skipEffectCheck) const |
| float | SpellTakenCritChance (Unit const *caster, SpellInfo const *spellProto, SpellSchoolMask schoolMask, float doneChance, WeaponAttackType attackType, bool skipEffectCheck) const |
| void | SetLastManaUse (uint32 spellCastTime) |
| bool | IsUnderLastManaUseEffect () const |
| void | SetContestedPvP (Player *attackedPlayer=nullptr, bool lookForNearContestedGuards=true) |
| uint32 | GetCastingTimeForBonus (SpellInfo const *spellProto, DamageEffectType damagetype, uint32 CastingTime) const |
| float | CalculateDefaultCoefficient (SpellInfo const *spellInfo, DamageEffectType damagetype) const |
| void | CastDelayedSpellWithPeriodicAmount (Unit *caster, uint32 spellId, AuraType auraType, int32 addAmount, uint8 effectIndex=0) |
| void | ApplySpellImmune (uint32 spellId, uint32 op, uint32 type, bool apply, SpellImmuneBlockType blockType=SPELL_BLOCK_TYPE_ALL) |
| void | ApplySpellDispelImmunity (SpellInfo const *spellProto, DispelType type, bool apply) |
| virtual bool | IsImmunedToSpell (SpellInfo const *spellInfo, Spell const *spell=nullptr) |
| bool | IsImmunedToDamage (SpellSchoolMask meleeSchoolMask) const |
| bool | IsImmunedToDamage (SpellInfo const *spellInfo) const |
| bool | IsImmunedToDamage (Spell const *spell) const |
| bool | IsImmunedToSchool (SpellSchoolMask meleeSchoolMask) const |
| bool | IsImmunedToSchool (SpellInfo const *spellInfo) const |
| bool | IsImmunedToSchool (Spell const *spell) const |
| bool | IsImmunedToDamageOrSchool (SpellSchoolMask meleeSchoolMask) const |
| bool | IsImmunedToDamageOrSchool (SpellInfo const *spellInfo) const |
| virtual bool | IsImmunedToSpellEffect (SpellInfo const *spellInfo, uint32 index) const |
| void | UpdateSpeed (UnitMoveType mtype, bool forced) |
| float | GetSpeed (UnitMoveType mtype) const |
| float | GetSpeedRate (UnitMoveType mtype) const |
| void | SetSpeed (UnitMoveType mtype, float rate, bool forced=false) |
| void | SetSpeedRate (UnitMoveType mtype, float rate) |
| float | ApplyEffectModifiers (SpellInfo const *spellProto, uint8 effect_index, float value) const |
| int32 | CalculateSpellDamage (Unit const *target, SpellInfo const *spellProto, uint8 effect_index, int32 const *basePoints=nullptr) const |
| int32 | CalcSpellDuration (SpellInfo const *spellProto) |
| int32 | ModSpellDuration (SpellInfo const *spellProto, Unit const *target, int32 duration, bool positive, uint32 effectMask) |
| void | ModSpellCastTime (SpellInfo const *spellProto, int32 &castTime, Spell *spell=nullptr) |
| float | CalculateLevelPenalty (SpellInfo const *spellProto) const |
| void | addFollower (FollowerReference *pRef) |
| void | removeFollower (FollowerReference *) |
| MotionMaster * | GetMotionMaster () |
| const MotionMaster * | GetMotionMaster () const |
| virtual MovementGeneratorType | GetDefaultMovementType () const |
| -------—End of Pet responses methods-------— More... | |
| bool | IsStopped () const |
| void | StopMoving () |
| void | StopMovingOnCurrentPos () |
| virtual void | PauseMovement (uint32 timer=0, uint8 slot=0) |
| void | ResumeMovement (uint32 timer=0, uint8 slot=0) |
| void | AddUnitMovementFlag (uint32 f) |
| void | RemoveUnitMovementFlag (uint32 f) |
| bool | HasUnitMovementFlag (uint32 f) const |
| uint32 | GetUnitMovementFlags () const |
| void | SetUnitMovementFlags (uint32 f) |
| void | AddExtraUnitMovementFlag (uint16 f) |
| void | RemoveExtraUnitMovementFlag (uint16 f) |
| uint16 | HasExtraUnitMovementFlag (uint16 f) const |
| uint16 | GetExtraUnitMovementFlags () const |
| void | SetExtraUnitMovementFlags (uint16 f) |
| void | SetControlled (bool apply, UnitState state) |
| void | DisableRotate (bool apply) |
| void | DisableSpline () |
| uint8 | GetComboPoints (Unit const *who=nullptr) const |
| --------—Combo point system----------------— More... | |
| uint8 | GetComboPoints (ObjectGuid const &guid) const |
| Unit * | GetComboTarget () const |
| ObjectGuid const | GetComboTargetGUID () const |
| void | AddComboPoints (Unit *target, int8 count) |
| void | AddComboPoints (int8 count) |
| void | ClearComboPoints () |
| void | SendComboPoints () |
| void | AddComboPointHolder (Unit *unit) |
| void | RemoveComboPointHolder (Unit *unit) |
| void | ClearComboPointHolders () |
| void | SendPetActionFeedback (uint8 msg) |
| -------—Pet responses methods--------------— More... | |
| void | SendPetTalk (uint32 pettalk) |
| void | SendPetAIReaction (ObjectGuid guid) |
| void | propagateSpeedChange () |
| -------—End of Pet responses methods-------— More... | |
| void | ClearAllReactives () |
| void | StartReactiveTimer (ReactiveType reactive) |
| void | UpdateReactives (uint32 p_time) |
| void | UpdateAuraForGroup (uint8 slot) |
| bool | CanProc () |
| void | SetCantProc (bool apply) |
| void | AddPetAura (PetAura const *petSpell) |
| void | RemovePetAura (PetAura const *petSpell) |
| void | CastPetAura (PetAura const *aura) |
| bool | IsPetAura (Aura const *aura) |
| uint32 | GetModelForForm (ShapeshiftForm form) const |
| uint32 | GetModelForTotem (PlayerTotemType totemType) |
| void | SetRedirectThreat (ObjectGuid guid, uint32 pct) |
| void | ResetRedirectThreat () |
| void | ModifyRedirectThreat (int32 amount) |
| uint32 | GetRedirectThreatPercent () |
| Unit * | GetRedirectThreatTarget () const |
| bool | CreateVehicleKit (uint32 id, uint32 creatureEntry) |
| void | RemoveVehicleKit () |
| Vehicle * | GetVehicleKit () const |
| Vehicle * | GetVehicle () const |
| bool | IsOnVehicle (Unit const *vehicle) const |
| Unit * | GetVehicleBase () const |
| Creature * | GetVehicleCreatureBase () const |
| ObjectGuid | GetTransGUID () const override |
| TransportBase * | GetDirectTransport () const |
| Returns the transport this unit is on directly (if on vehicle and transport, return vehicle) More... | |
| bool | HandleSpellClick (Unit *clicker, int8 seatId=-1) |
| void | EnterVehicle (Unit *base, int8 seatId=-1) |
| void | EnterVehicleUnattackable (Unit *base, int8 seatId=-1) |
| void | ExitVehicle (Position const *exitPosition=nullptr) |
| void | ChangeSeat (int8 seatId, bool next=true) |
| void | _ExitVehicle (Position const *exitPosition=nullptr) |
| void | _EnterVehicle (Vehicle *vehicle, int8 seatId, AuraApplication const *aurApp=nullptr) |
| void | BuildMovementPacket (ByteBuffer *data) const |
| virtual bool | CanSwim () const |
| this method checks the current flag of a unit More... | |
| bool | IsLevitating () const |
| bool | IsWalking () const |
| bool | isMoving () const |
| bool | isTurning () const |
| bool | IsHovering () const |
| bool | isSwimming () const |
| virtual bool | CanFly () const =0 |
| bool | IsFlying () const |
| bool | IsFalling () const |
| float | GetHoverHeight () const |
| virtual bool | CanEnterWater () const =0 |
| void | RewardRage (uint32 damage, uint32 weaponSpeedHitFactor, bool attacker) |
| virtual float | GetFollowAngle () const |
| void | OutDebugInfo () const |
| virtual bool | isBeingLoaded () const |
| bool | IsDuringRemoveFromWorld () const |
| Pet * | ToPet () |
| Totem * | ToTotem () |
| TempSummon * | ToTempSummon () |
| const TempSummon * | ToTempSummon () const |
| void | AddPointedBy (SafeUnitPointer *sup) |
| void | RemovePointedBy (SafeUnitPointer *sup) |
| void | ExecuteDelayedUnitRelocationEvent () |
| void | ExecuteDelayedUnitAINotifyEvent () |
| virtual bool | HasSpellCooldown (uint32) const |
| virtual bool | HasSpellItemCooldown (uint32, uint32) const |
| virtual void | AddSpellCooldown (uint32, uint32, uint32, bool needSendToClient=false, bool forceSendToSpectator=false) |
| bool | CanApplyResilience () const |
| void | PetSpellFail (SpellInfo const *spellInfo, Unit *target, uint32 result) |
| int32 | CalculateAOEDamageReduction (int32 damage, uint32 schoolMask, Unit *caster) const |
| ObjectGuid | GetTarget () const |
| virtual void | SetTarget (ObjectGuid=ObjectGuid::Empty)=0 |
| void | SetInstantCast (bool set) |
| bool | CanInstantCast () const |
| virtual void | Talk (std::string_view text, ChatMsg msgType, Language language, float textRange, WorldObject const *target) |
| virtual void | Say (std::string_view text, Language language, WorldObject const *target=nullptr) |
| virtual void | Yell (std::string_view text, Language language, WorldObject const *target=nullptr) |
| virtual void | TextEmote (std::string_view text, WorldObject const *target=nullptr, bool isBossEmote=false) |
| virtual void | Whisper (std::string_view text, Language language, Player *target, bool isBossWhisper=false) |
| virtual void | Talk (uint32 textId, ChatMsg msgType, float textRange, WorldObject const *target) |
| virtual void | Say (uint32 textId, WorldObject const *target=nullptr) |
| virtual void | Yell (uint32 textId, WorldObject const *target=nullptr) |
| virtual void | TextEmote (uint32 textId, WorldObject const *target=nullptr, bool isBossEmote=false) |
| virtual void | Whisper (uint32 textId, Player *target, bool isBossWhisper=false) |
| float | GetCollisionHeight () const override |
| Return collision height sent to client. More... | |
| float | GetCollisionWidth () const override |
| this method gets the diameter of a Unit by DB if any value is defined, otherwise it gets the value by the DBC More... | |
| float | GetCollisionRadius () const override |
| this method gets the radius of a Unit by DB if any value is defined, otherwise it gets the value by the DBC More... | |
| void | ProcessPositionDataChanged (PositionFullTerrainStatus const &data) override |
| virtual void | ProcessTerrainStatusUpdate () |
| bool | CanRestoreMana (SpellInfo const *spellInfo) const |
| std::string | GetDebugInfo () const override |
Public Member Functions inherited from WorldObject | |
| ~WorldObject () override | |
| virtual void | Update (uint32) |
| void | _Create (ObjectGuid::LowType guidlow, HighGuid guidhigh, uint32 phaseMask) |
| void | AddToWorld () override |
| void | RemoveFromWorld () override |
| void | GetNearPoint2D (WorldObject const *searcher, float &x, float &y, float distance, float absAngle, Position const *startPos=nullptr) const |
| void | GetNearPoint2D (float &x, float &y, float distance, float absAngle, Position const *startPos=nullptr) const |
| void | GetNearPoint (WorldObject const *searcher, float &x, float &y, float &z, float searcher_size, float distance2d, float absAngle, float controlZ=0, Position const *startPos=nullptr) const |
| void | GetVoidClosePoint (float &x, float &y, float &z, float size, float distance2d=0, float relAngle=0, float controlZ=0) const |
| bool | GetClosePoint (float &x, float &y, float &z, float size, float distance2d=0, float angle=0, WorldObject const *forWho=nullptr, bool force=false) const |
| void | MovePosition (Position &pos, float dist, float angle) |
| Position | GetNearPosition (float dist, float angle) |
| void | MovePositionToFirstCollision (Position &pos, float dist, float angle) |
| Position | GetFirstCollisionPosition (float startX, float startY, float startZ, float destX, float destY) |
| Position | GetFirstCollisionPosition (float destX, float destY, float destZ) |
| Position | GetFirstCollisionPosition (float dist, float angle) |
| Position | GetRandomNearPosition (float radius) |
| void | GetContactPoint (WorldObject const *obj, float &x, float &y, float &z, float distance2d=CONTACT_DISTANCE) const |
| void | GetChargeContactPoint (WorldObject const *obj, float &x, float &y, float &z, float distance2d=CONTACT_DISTANCE) const |
| float | GetObjectSize () const |
| virtual float | GetCombatReach () const |
| void | UpdateGroundPositionZ (float x, float y, float &z) const |
| void | UpdateAllowedPositionZ (float x, float y, float &z, float *groundZ=nullptr) const |
| void | GetRandomPoint (const Position &srcPos, float distance, float &rand_x, float &rand_y, float &rand_z) const |
| Position | GetRandomPoint (const Position &srcPos, float distance) const |
| uint32 | GetInstanceId () const |
| virtual void | SetPhaseMask (uint32 newPhaseMask, bool update) |
| uint32 | GetPhaseMask () const |
| bool | InSamePhase (WorldObject const *obj) const |
| bool | InSamePhase (uint32 phasemask) const |
| uint32 | GetZoneId () const |
| uint32 | GetAreaId () const |
| void | GetZoneAndAreaId (uint32 &zoneid, uint32 &areaid) const |
| bool | IsOutdoors () const |
| LiquidData const & | GetLiquidData () const |
| InstanceScript * | GetInstanceScript () const |
| std::string const & | GetName () const |
| void | SetName (std::string const &newname) |
| virtual std::string const & | GetNameForLocaleIdx (LocaleConstant) const |
| float | GetDistance (WorldObject const *obj) const |
| float | GetDistance (const Position &pos) const |
| float | GetDistance (float x, float y, float z) const |
| float | GetDistance2d (WorldObject const *obj) const |
| float | GetDistance2d (float x, float y) const |
| float | GetDistanceZ (WorldObject const *obj) const |
| bool | IsSelfOrInSameMap (WorldObject const *obj) const |
| bool | IsInMap (WorldObject const *obj) const |
| bool | IsWithinDist3d (float x, float y, float z, float dist) const |
| bool | IsWithinDist3d (const Position *pos, float dist) const |
| bool | IsWithinDist2d (float x, float y, float dist) const |
| bool | IsWithinDist2d (const Position *pos, float dist) const |
| bool | IsWithinDist (WorldObject const *obj, float dist2compare, bool is3D=true, bool useBoundingRadius=true) const |
| bool | IsWithinDistInMap (WorldObject const *obj, float dist2compare, bool is3D=true, bool useBoundingRadius=true) const |
| bool | IsWithinLOS (float x, float y, float z, VMAP::ModelIgnoreFlags ignoreFlags=VMAP::ModelIgnoreFlags::Nothing, LineOfSightChecks checks=LINEOFSIGHT_ALL_CHECKS) const |
| bool | IsWithinLOSInMap (WorldObject const *obj, VMAP::ModelIgnoreFlags ignoreFlags=VMAP::ModelIgnoreFlags::Nothing, LineOfSightChecks checks=LINEOFSIGHT_ALL_CHECKS, Optional< float > collisionHeight={ }) const |
| Position | GetHitSpherePointFor (Position const &dest, Optional< float > collisionHeight={ }) const |
| void | GetHitSpherePointFor (Position const &dest, float &x, float &y, float &z, Optional< float > collisionHeight={ }) const |
| bool | GetDistanceOrder (WorldObject const *obj1, WorldObject const *obj2, bool is3D=true) const |
| bool | IsInRange (WorldObject const *obj, float minRange, float maxRange, bool is3D=true) const |
| bool | IsInRange2d (float x, float y, float minRange, float maxRange) const |
| bool | IsInRange3d (float x, float y, float z, float minRange, float maxRange) const |
| bool | isInFront (WorldObject const *target, float arc=M_PI) const |
| bool | isInBack (WorldObject const *target, float arc=M_PI) const |
| bool | IsInBetween (WorldObject const *obj1, WorldObject const *obj2, float size=0) const |
| virtual void | CleanupsBeforeDelete (bool finalCleanup=true) |
| virtual void | SendMessageToSet (WorldPacket const *data, bool self) const |
| virtual void | SendMessageToSetInRange (WorldPacket const *data, float dist, bool, bool includeMargin=false, Player const *skipped_rcvr=nullptr) const |
| virtual void | SendMessageToSet (WorldPacket const *data, Player const *skipped_rcvr) const |
| virtual uint8 | getLevelForTarget (WorldObject const *) const |
| void | PlayDistanceSound (uint32 sound_id, Player *target=nullptr) |
| void | PlayDirectSound (uint32 sound_id, Player *target=nullptr) |
| void | PlayDirectMusic (uint32 music_id, Player *target=nullptr) |
| void | SendObjectDeSpawnAnim (ObjectGuid guid) |
| virtual void | SaveRespawnTime () |
| void | AddObjectToRemoveList () |
| float | GetGridActivationRange () const |
| float | GetVisibilityRange () const |
| virtual float | GetSightRange (WorldObject const *target=nullptr) const |
| bool | CanSeeOrDetect (WorldObject const *obj, bool ignoreStealth=false, bool distanceCheck=false, bool checkAlert=false) const |
| void | SendPlayMusic (uint32 Music, bool OnlySelf) |
| virtual void | SetMap (Map *map) |
| virtual void | ResetMap () |
| Map * | GetMap () const |
| Map * | FindMap () const |
| void | SetZoneScript () |
| void | ClearZoneScript () |
| ZoneScript * | GetZoneScript () const |
| TempSummon * | SummonCreature (uint32 id, const Position &pos, TempSummonType spwtype=TEMPSUMMON_MANUAL_DESPAWN, uint32 despwtime=0, uint32 vehId=0, SummonPropertiesEntry const *properties=nullptr) const |
| TempSummon * | SummonCreature (uint32 id, float x, float y, float z, float ang=0, TempSummonType spwtype=TEMPSUMMON_MANUAL_DESPAWN, uint32 despwtime=0, SummonPropertiesEntry const *properties=nullptr) |
| GameObject * | SummonGameObject (uint32 entry, float x, float y, float z, float ang, float rotation0, float rotation1, float rotation2, float rotation3, uint32 respawnTime, bool checkTransport=true, GOSummonType summonType=GO_SUMMON_TIMED_OR_CORPSE_DESPAWN) |
| Creature * | SummonTrigger (float x, float y, float z, float ang, uint32 dur, bool setLevel=false, CreatureAI *(*GetAI)(Creature *)=nullptr) |
| void | SummonCreatureGroup (uint8 group, std::list< TempSummon * > *list=nullptr) |
| Creature * | FindNearestCreature (uint32 entry, float range, bool alive=true) const |
| GameObject * | FindNearestGameObject (uint32 entry, float range, bool onlySpawned=false) const |
| GameObject * | FindNearestGameObjectOfType (GameobjectTypes type, float range) const |
| Player * | SelectNearestPlayer (float distance=0) const |
| void | GetGameObjectListWithEntryInGrid (std::list< GameObject * > &lList, uint32 uiEntry, float fMaxSearchRange) const |
| void | GetCreatureListWithEntryInGrid (std::list< Creature * > &lList, uint32 uiEntry, float fMaxSearchRange) const |
| void | GetDeadCreatureListInGrid (std::list< Creature * > &lList, float maxSearchRange, bool alive=false) const |
| void | DestroyForNearbyPlayers () |
| virtual void | UpdateObjectVisibility (bool forced=true, bool fromUpdate=false) |
| void | BuildUpdate (UpdateDataMapType &data_map, UpdatePlayerSet &player_set) override |
| void | GetCreaturesWithEntryInRange (std::list< Creature * > &creatureList, float radius, uint32 entry) |
| void | SetPositionDataUpdate () |
| void | UpdatePositionData () |
| void | AddToObjectUpdate () override |
| void | RemoveFromObjectUpdate () override |
| void | AddToNotify (uint16 f) |
| void | RemoveFromNotify (uint16 f) |
| bool | isNeedNotify (uint16 f) const |
| uint16 | GetNotifyFlags () const |
| bool | NotifyExecuted (uint16 f) const |
| void | SetNotified (uint16 f) |
| void | ResetAllNotifies () |
| bool | isActiveObject () const |
| void | setActive (bool isActiveObject) |
| bool | IsFarVisible () const |
| bool | IsVisibilityOverridden () const |
| void | SetVisibilityDistanceOverride (VisibilityDistanceType type) |
| void | SetWorldObject (bool apply) |
| bool | IsPermanentWorldObject () const |
| bool | IsWorldObject () const |
| bool | IsInWintergrasp () const |
| Transport * | GetTransport () const |
| float | GetTransOffsetX () const |
| float | GetTransOffsetY () const |
| float | GetTransOffsetZ () const |
| float | GetTransOffsetO () const |
| uint32 | GetTransTime () const |
| int8 | GetTransSeat () const |
| virtual ObjectGuid | GetTransGUID () const |
| void | SetTransport (Transport *t) |
| virtual float | GetStationaryX () const |
| virtual float | GetStationaryY () const |
| virtual float | GetStationaryZ () const |
| virtual float | GetStationaryO () const |
| float | GetMapWaterOrGroundLevel (float x, float y, float z, float *ground=nullptr) const |
| float | GetMapHeight (float x, float y, float z, bool vmap=true, float distanceToSearch=50.0f) const |
| float | GetFloorZ () const |
| float | GetMinHeightInWater () const |
| Get the minimum height of a object that should be in water to start floating/swim. More... | |
| virtual float | GetCollisionHeight () const |
| virtual float | GetCollisionWidth () const |
| virtual float | GetCollisionRadius () const |
| void | AddAllowedLooter (ObjectGuid guid) |
| void | ResetAllowedLooters () |
| void | SetAllowedLooters (GuidUnorderedSet const looters) |
| bool | HasAllowedLooter (ObjectGuid guid) const |
| GuidUnorderedSet const & | GetAllowedLooters () const |
| std::string | GetDebugInfo () const override |
Public Member Functions inherited from Object | |
| virtual | ~Object () |
| bool | IsInWorld () const |
| virtual void | AddToWorld () |
| virtual void | RemoveFromWorld () |
| ObjectGuid | GetGUID () const |
| PackedGuid const & | GetPackGUID () const |
| uint32 | GetEntry () const |
| void | SetEntry (uint32 entry) |
| float | GetObjectScale () const |
| virtual void | SetObjectScale (float scale) |
| virtual uint32 | GetDynamicFlags () const |
| bool | HasDynamicFlag (uint32 flag) const |
| virtual void | SetDynamicFlag (uint32 flag) |
| virtual void | RemoveDynamicFlag (uint32 flag) |
| virtual void | ReplaceAllDynamicFlags (uint32 flag) |
| TypeID | GetTypeId () const |
| bool | isType (uint16 mask) const |
| virtual void | BuildCreateUpdateBlockForPlayer (UpdateData *data, Player *target) const |
| void | SendUpdateToPlayer (Player *player) |
| void | BuildValuesUpdateBlockForPlayer (UpdateData *data, Player *target) const |
| void | BuildOutOfRangeUpdateBlock (UpdateData *data) const |
| void | BuildMovementUpdateBlock (UpdateData *data, uint32 flags=0) const |
| virtual void | DestroyForPlayer (Player *target, bool onDeath=false) const |
| int32 | GetInt32Value (uint16 index) const |
| uint32 | GetUInt32Value (uint16 index) const |
| uint64 | GetUInt64Value (uint16 index) const |
| float | GetFloatValue (uint16 index) const |
| uint8 | GetByteValue (uint16 index, uint8 offset) const |
| uint16 | GetUInt16Value (uint16 index, uint8 offset) const |
| ObjectGuid | GetGuidValue (uint16 index) const |
| void | SetInt32Value (uint16 index, int32 value) |
| void | SetUInt32Value (uint16 index, uint32 value) |
| void | UpdateUInt32Value (uint16 index, uint32 value) |
| void | SetUInt64Value (uint16 index, uint64 value) |
| void | SetFloatValue (uint16 index, float value) |
| void | SetByteValue (uint16 index, uint8 offset, uint8 value) |
| void | SetUInt16Value (uint16 index, uint8 offset, uint16 value) |
| void | SetInt16Value (uint16 index, uint8 offset, int16 value) |
| void | SetGuidValue (uint16 index, ObjectGuid value) |
| void | SetStatFloatValue (uint16 index, float value) |
| void | SetStatInt32Value (uint16 index, int32 value) |
| bool | AddGuidValue (uint16 index, ObjectGuid value) |
| bool | RemoveGuidValue (uint16 index, ObjectGuid value) |
| void | ApplyModUInt32Value (uint16 index, int32 val, bool apply) |
| void | ApplyModInt32Value (uint16 index, int32 val, bool apply) |
| void | ApplyModUInt64Value (uint16 index, int32 val, bool apply) |
| void | ApplyModPositiveFloatValue (uint16 index, float val, bool apply) |
| void | ApplyModSignedFloatValue (uint16 index, float val, bool apply) |
| void | ApplyPercentModFloatValue (uint16 index, float val, bool apply) |
| void | SetFlag (uint16 index, uint32 newFlag) |
| void | RemoveFlag (uint16 index, uint32 oldFlag) |
| void | ToggleFlag (uint16 index, uint32 flag) |
| bool | HasFlag (uint16 index, uint32 flag) const |
| void | ApplyModFlag (uint16 index, uint32 flag, bool apply) |
| void | SetByteFlag (uint16 index, uint8 offset, uint8 newFlag) |
| void | RemoveByteFlag (uint16 index, uint8 offset, uint8 newFlag) |
| bool | HasByteFlag (uint16 index, uint8 offset, uint8 flag) const |
| void | SetFlag64 (uint16 index, uint64 newFlag) |
| void | RemoveFlag64 (uint16 index, uint64 oldFlag) |
| void | ToggleFlag64 (uint16 index, uint64 flag) |
| bool | HasFlag64 (uint16 index, uint64 flag) const |
| void | ApplyModFlag64 (uint16 index, uint64 flag, bool apply) |
| void | ClearUpdateMask (bool remove) |
| uint16 | GetValuesCount () const |
| virtual bool | hasQuest (uint32) const |
| virtual bool | hasInvolvedQuest (uint32) const |
| virtual void | BuildUpdate (UpdateDataMapType &, UpdatePlayerSet &) |
| void | BuildFieldsUpdate (Player *, UpdateDataMapType &) const |
| void | SetFieldNotifyFlag (uint16 flag) |
| void | RemoveFieldNotifyFlag (uint16 flag) |
| void | ForceValuesUpdateAtIndex (uint32) |
| bool | IsPlayer () const |
| Player * | ToPlayer () |
| Player const * | ToPlayer () const |
| Creature * | ToCreature () |
| Creature const * | ToCreature () const |
| Unit * | ToUnit () |
| Unit const * | ToUnit () const |
| GameObject * | ToGameObject () |
| GameObject const * | ToGameObject () const |
| Corpse * | ToCorpse () |
| Corpse const * | ToCorpse () const |
| DynamicObject * | ToDynObject () |
| DynamicObject const * | ToDynObject () const |
| virtual std::string | GetDebugInfo () const |
Public Member Functions inherited from WorldLocation | |
| WorldLocation (uint32 _mapId=MAPID_INVALID, float x=0.f, float y=0.f, float z=0.f, float o=0.f) | |
| WorldLocation (uint32 mapId, Position const &position) | |
| void | WorldRelocate (const WorldLocation &loc) |
| void | WorldRelocate (uint32 mapId=MAPID_INVALID, float x=0.f, float y=0.f, float z=0.f, float o=0.f) |
| void | SetMapId (uint32 mapId) |
| uint32 | GetMapId () const |
| void | GetWorldLocation (uint32 &mapId, float &x, float &y) const |
| void | GetWorldLocation (uint32 &mapId, float &x, float &y, float &z) const |
| void | GetWorldLocation (uint32 &mapId, float &x, float &y, float &z, float &o) const |
| void | GetWorldLocation (WorldLocation *location) const |
| WorldLocation | GetWorldLocation () const |
| std::string | GetDebugInfo () const |
Public Member Functions inherited from Position | |
| Position (float x=0, float y=0, float z=0, float o=0) | |
| Position (Position const &loc) | |
| Position (Position &&)=default | |
| Position & | operator= (const Position &)=default |
| Position & | operator= (Position &&)=default |
| bool | operator== (Position const &a) const |
| bool | operator!= (Position const &a) |
| operator G3D::Vector3 () const | |
| void | Relocate (float x, float y) |
| void | Relocate (float x, float y, float z) |
| void | Relocate (float x, float y, float z, float orientation) |
| void | Relocate (const Position &pos) |
| void | Relocate (const Position *pos) |
| void | RelocatePolarOffset (float angle, float dist, float z=0.0f) |
| void | RelocateOffset (const Position &offset) |
| void | SetOrientation (float orientation) |
| float | GetPositionX () const |
| float | GetPositionY () const |
| float | GetPositionZ () const |
| float | GetOrientation () const |
| void | GetPosition (float &x, float &y) const |
| void | GetPosition (float &x, float &y, float &z) const |
| void | GetPosition (float &x, float &y, float &z, float &o) const |
| Position | GetPosition () const |
| Position::PositionXYZStreamer | PositionXYZStream () |
| Position::PositionXYZOStreamer | PositionXYZOStream () |
| bool | IsPositionValid () const |
| float | GetExactDist2dSq (const float x, const float y) const |
| float | GetExactDist2dSq (Position const &pos) const |
| float | GetExactDist2dSq (Position const *pos) const |
| float | GetExactDist2d (const float x, const float y) const |
| float | GetExactDist2d (Position const &pos) const |
| float | GetExactDist2d (Position const *pos) const |
| float | GetExactDistSq (float x, float y, float z) const |
| float | GetExactDistSq (Position const &pos) const |
| float | GetExactDistSq (Position const *pos) const |
| float | GetExactDist (float x, float y, float z) const |
| float | GetExactDist (Position const &pos) const |
| float | GetExactDist (Position const *pos) const |
| void | GetPositionOffsetTo (const Position &endPos, Position &retOffset) const |
| Position | GetPositionWithOffset (Position const &offset) const |
| float | GetAngle (const Position *pos) const |
| float | GetAngle (float x, float y) const |
| float | GetAbsoluteAngle (float x, float y) const |
| float | GetAbsoluteAngle (Position const &pos) const |
| float | GetAbsoluteAngle (Position const *pos) const |
| float | GetRelativeAngle (const Position *pos) const |
| float | GetRelativeAngle (float x, float y) const |
| float | ToAbsoluteAngle (float relAngle) const |
| void | GetSinCos (float x, float y, float &vsin, float &vcos) const |
| bool | IsInDist2d (float x, float y, float dist) const |
| bool | IsInDist2d (const Position *pos, float dist) const |
| bool | IsInDist (float x, float y, float z, float dist) const |
| bool | IsInDist (const Position *pos, float dist) const |
| bool | IsWithinBox (const Position ¢er, float xradius, float yradius, float zradius) const |
| bool | HasInArc (float arcangle, const Position *pos, float targetRadius=0.0f) const |
| bool | HasInLine (Position const *pos, float width) const |
| std::string | ToString () const |
Static Public Member Functions | |
| static float | GetEffectiveResistChance (Unit const *owner, SpellSchoolMask schoolMask, Unit const *victim) |
| static void | DealDamageMods (Unit const *victim, uint32 &damage, uint32 *absorb) |
| static uint32 | DealDamage (Unit *attacker, Unit *victim, uint32 damage, CleanDamage const *cleanDamage=nullptr, DamageEffectType damagetype=DIRECT_DAMAGE, SpellSchoolMask damageSchoolMask=SPELL_SCHOOL_MASK_NORMAL, SpellInfo const *spellProto=nullptr, bool durabilityLoss=true, bool allowGM=false, Spell const *spell=nullptr) |
| static void | Kill (Unit *killer, Unit *victim, bool durabilityLoss=true, WeaponAttackType attackType=BASE_ATTACK, SpellInfo const *spellProto=nullptr, Spell const *spell=nullptr) |
| static int32 | DealHeal (Unit *healer, Unit *victim, uint32 addhealth) |
| static void | ProcDamageAndSpell (Unit *actor, Unit *victim, uint32 procAttacker, uint32 procVictim, uint32 procEx, uint32 amount, WeaponAttackType attType=BASE_ATTACK, SpellInfo const *procSpellInfo=nullptr, SpellInfo const *procAura=nullptr, int8 procAuraEffectIndex=-1, Spell const *procSpell=nullptr, DamageInfo *damageInfo=nullptr, HealInfo *healInfo=nullptr, uint32 procPhase=2) |
| static void | ApplyResilience (Unit const *victim, float *crit, int32 *damage, bool isCrit, CombatRating type) |
| static uint32 | SpellCriticalDamageBonus (Unit const *caster, SpellInfo const *spellProto, uint32 damage, Unit const *victim) |
| static uint32 | SpellCriticalHealingBonus (Unit const *caster, SpellInfo const *spellProto, uint32 damage, Unit const *victim) |
| static bool | IsDamageReducedByArmor (SpellSchoolMask damageSchoolMask, SpellInfo const *spellInfo=nullptr, uint8 effIndex=MAX_SPELL_EFFECTS) |
| static uint32 | CalcArmorReducedDamage (Unit const *attacker, Unit const *victim, const uint32 damage, SpellInfo const *spellInfo, uint8 attackerLevel=0, WeaponAttackType attackType=MAX_ATTACK) |
| static void | CalcAbsorbResist (DamageInfo &dmgInfo, bool Splited=false) |
| static void | CalcHealAbsorb (HealInfo &healInfo) |
| static void | HandleSafeUnitPointersOnDelete (Unit *thisUnit) |
Static Public Member Functions inherited from Object | |
| static ObjectGuid | GetGUID (Object const *o) |
Static Public Member Functions inherited from Position | |
| static float | NormalizeOrientation (float o) |
Protected Types | |
| typedef std::list< DynamicObject * > | DynObjectList |
| typedef GuidList | GameObjectList |
| typedef std::map< ObjectGuid, float > | CharmThreatMap |
Protected Member Functions | |
| Unit (bool isWorldObject) | |
| void | BuildValuesUpdate (uint8 updatetype, ByteBuffer *data, Player *target) const override |
| void | _UpdateSpells (uint32 time) |
| void | _DeleteRemovedAuras () |
| void | _UpdateAutoRepeatSpell () |
| bool | IsAlwaysVisibleFor (WorldObject const *seer) const override |
| bool | IsAlwaysDetectableFor (WorldObject const *seer) const override |
| void | SetFeared (bool apply) |
| void | SetConfused (bool apply) |
| void | SetStunned (bool apply) |
| void | SetRooted (bool apply, bool isStun=false) |
Protected Member Functions inherited from WorldObject | |
| WorldObject (bool isWorldObject) | |
| virtual void | ProcessPositionDataChanged (PositionFullTerrainStatus const &data) |
| void | SetLocationMapId (uint32 _mapId) |
| void | SetLocationInstanceId (uint32 _instanceId) |
| virtual bool | IsNeverVisible () const |
| virtual bool | IsAlwaysVisibleFor (WorldObject const *) const |
| virtual bool | IsInvisibleDueToDespawn () const |
| virtual bool | IsAlwaysDetectableFor (WorldObject const *) const |
Protected Member Functions inherited from Object | |
| Object () | |
| void | _InitValues () |
| void | _Create (ObjectGuid::LowType guidlow, uint32 entry, HighGuid guidhigh) |
| std::string | _ConcatFields (uint16 startIndex, uint16 size) const |
| bool | _LoadIntoDataField (std::string const &data, uint32 startOffset, uint32 count) |
| uint32 | GetUpdateFieldData (Player const *target, uint32 *&flags) const |
| void | BuildMovementUpdate (ByteBuffer *data, uint16 flags) const |
| virtual void | BuildValuesUpdate (uint8 updatetype, ByteBuffer *data, Player *target) const |
| virtual void | AddToObjectUpdate ()=0 |
| virtual void | RemoveFromObjectUpdate ()=0 |
| void | AddToObjectUpdateIfNeeded () |
Private Member Functions | |
| bool | IsTriggeredAtSpellProcEvent (Unit *victim, Aura *aura, WeaponAttackType attType, bool isVictim, bool active, SpellProcEventEntry const *&spellProcEvent, ProcEventInfo const &eventInfo) |
| bool | HandleDummyAuraProc (Unit *victim, uint32 damage, AuraEffect *triggeredByAura, SpellInfo const *procSpell, uint32 procFlag, uint32 procEx, uint32 cooldown, Spell const *spellProc=nullptr) |
| bool | HandleAuraProc (Unit *victim, uint32 damage, Aura *triggeredByAura, SpellInfo const *procSpell, uint32 procFlag, uint32 procEx, uint32 cooldown, bool *handled) |
| bool | HandleProcTriggerSpell (Unit *victim, uint32 damage, AuraEffect *triggeredByAura, SpellInfo const *procSpell, uint32 procFlag, uint32 procEx, uint32 cooldown, uint32 procPhase, ProcEventInfo &eventInfo) |
| bool | HandleOverrideClassScriptAuraProc (Unit *victim, uint32 damage, AuraEffect *triggeredByAura, SpellInfo const *procSpell, uint32 cooldown) |
| bool | HandleAuraRaidProcFromChargeWithValue (AuraEffect *triggeredByAura) |
| bool | HandleAuraRaidProcFromCharge (AuraEffect *triggeredByAura) |
| void | UpdateSplineMovement (uint32 t_diff) |
| void | UpdateSplinePosition () |
| float | GetCombatRatingReduction (CombatRating cr) const |
| uint32 | GetCombatRatingDamageReduction (CombatRating cr, float rate, float cap, uint32 damage) const |
| float | processDummyAuras (float TakenTotalMod) const |
Private Attributes | |
| uint32 | m_state |
| uint32 | m_CombatTimer |
| uint32 | m_lastManaUse |
| Diminishing | m_Diminishing |
| HostileRefMgr | m_HostileRefMgr |
| FollowerRefMgr | m_FollowingRefMgr |
| Unit * | m_comboTarget |
| int8 | m_comboPoints |
| std::unordered_set< Unit * > | m_ComboPointHolders |
| RedirectThreatInfo | _redirectThreatInfo |
| bool | m_cleanupDone |
| bool | m_duringRemoveFromWorld |
| uint32 | _oldFactionId |
| faction before charm More... | |
| bool | _isWalkingBeforeCharm |
| Are we walking before we were charmed? More... | |
| uint32 | _lastExtraAttackSpell |
| std::unordered_map< ObjectGuid, uint32 > | extraAttacksTargets |
| ObjectGuid | _lastDamagedTargetGuid |
| typedef std::unordered_set<Unit*> Unit::AttackerSet |
| typedef std::list<AuraApplication*> Unit::AuraApplicationList |
| typedef std::multimap<uint32, AuraApplication*> Unit::AuraApplicationMap |
| typedef std::pair<AuraApplicationMap::const_iterator, AuraApplicationMap::const_iterator> Unit::AuraApplicationMapBounds |
| typedef std::pair<AuraApplicationMap::iterator, AuraApplicationMap::iterator> Unit::AuraApplicationMapBoundsNonConst |
| typedef std::list<AuraEffect*> Unit::AuraEffectList |
| typedef std::list<Aura*> Unit::AuraList |
| typedef std::multimap<uint32, Aura*> Unit::AuraMap |
| typedef std::pair<AuraMap::const_iterator, AuraMap::const_iterator> Unit::AuraMapBounds |
| typedef std::pair<AuraMap::iterator, AuraMap::iterator> Unit::AuraMapBoundsNonConst |
| typedef std::multimap<AuraStateType, AuraApplication*> Unit::AuraStateAurasMap |
| typedef std::pair<AuraStateAurasMap::const_iterator, AuraStateAurasMap::const_iterator> Unit::AuraStateAurasMapBounds |
|
protected |
| typedef std::set<Unit*> Unit::ControlSet |
| typedef std::list<DiminishingReturn> Unit::Diminishing |
|
protected |
|
protected |
| typedef std::set<PetAura const*> Unit::PetAuraSet |
| typedef std::map<uint8, AuraApplication*> Unit::VisibleAuraMap |
|
override |
|
explicitprotected |
|
inline |
| void Unit::_ApplyAllAuraStatMods | ( | ) |
| void Unit::_ApplyAura | ( | AuraApplication * | aurApp, |
| uint8 | effMask | ||
| ) |
| AuraApplication * Unit::_CreateAuraApplication | ( | Aura * | aura, |
| uint8 | effMask | ||
| ) |
|
protected |
| void Unit::_EnterVehicle | ( | Vehicle * | vehicle, |
| int8 | seatId, | ||
| AuraApplication const * | aurApp = nullptr |
||
| ) |
| void Unit::_ExitVehicle | ( | Position const * | exitPosition = nullptr | ) |
| bool Unit::_IsValidAttackTarget | ( | Unit const * | target, |
| SpellInfo const * | bySpell, | ||
| WorldObject const * | obj = nullptr |
||
| ) | const |
| void Unit::_RegisterAuraEffect | ( | AuraEffect * | aurEff, |
| bool | apply | ||
| ) |
| void Unit::_RegisterDynObject | ( | DynamicObject * | dynObj | ) |
| void Unit::_RemoveAllAuraStatMods | ( | ) |
|
inline |
| void Unit::_RemoveNoStackAuraApplicationsDueToAura | ( | Aura * | aura | ) |
| void Unit::_RemoveNoStackAurasDueToAura | ( | Aura * | aura | ) |
| Aura * Unit::_TryStackingOrRefreshingExistingAura | ( | SpellInfo const * | newAura, |
| uint8 | effMask, | ||
| Unit * | caster, | ||
| int32 * | baseAmount = nullptr, |
||
| Item * | castItem = nullptr, |
||
| ObjectGuid | casterGUID = ObjectGuid::Empty, |
||
| bool | periodicReset = false |
||
| ) |
| void Unit::_UnapplyAura | ( | AuraApplication * | aurApp, |
| AuraRemoveMode | removeMode | ||
| ) |
| void Unit::_UnapplyAura | ( | AuraApplicationMap::iterator & | i, |
| AuraRemoveMode | removeMode | ||
| ) |
| void Unit::_UnregisterDynObject | ( | DynamicObject * | dynObj | ) |
|
protected |
|
protected |
|
inline |
|
inline |
| void Unit::AddExtraAttacks | ( | uint32 | count | ) |
|
inline |
|
inline |
| void Unit::AddGameObject | ( | GameObject * | gameObj | ) |
|
inline |
|
inline |
| void Unit::AddPetAura | ( | PetAura const * | petSpell | ) |
| void Unit::AddPlayerToVision | ( | Player * | player | ) |
|
inline |
| void Unit::AddThreat | ( | Unit * | victim, |
| float | fThreat, | ||
| SpellSchoolMask | schoolMask = SPELL_SCHOOL_MASK_NORMAL, |
||
| SpellInfo const * | threatSpell = nullptr |
||
| ) |
|
overridevirtual |
Reimplemented from WorldObject.
|
inline |
|
inline |
| void Unit::ApplyAttackTimePercentMod | ( | WeaponAttackType | att, |
| float | val, | ||
| bool | apply | ||
| ) |
| void Unit::ApplyCastTimePercentMod | ( | float | val, |
| bool | apply | ||
| ) |
| void Unit::ApplyDiminishingAura | ( | DiminishingGroup | group, |
| bool | apply | ||
| ) |
| float Unit::ApplyDiminishingToDuration | ( | DiminishingGroup | group, |
| int32 & | duration, | ||
| Unit * | caster, | ||
| DiminishingLevels | Level, | ||
| int32 | limitduration | ||
| ) |
| float Unit::ApplyEffectModifiers | ( | SpellInfo const * | spellProto, |
| uint8 | effect_index, | ||
| float | value | ||
| ) | const |
|
static |
|
inline |
|
inline |
| void Unit::ApplySpellDispelImmunity | ( | SpellInfo const * | spellProto, |
| DispelType | type, | ||
| bool | apply | ||
| ) |
| void Unit::ApplySpellImmune | ( | uint32 | spellId, |
| uint32 | op, | ||
| uint32 | type, | ||
| bool | apply, | ||
| SpellImmuneBlockType | blockType = SPELL_BLOCK_TYPE_ALL |
||
| ) |
|
inline |
| void Unit::ApplyStatPercentBuffMod | ( | Stats | stat, |
| float | val, | ||
| bool | apply | ||
| ) |
| float Unit::ApplyTotalThreatModifier | ( | float | fThreat, |
| SpellSchoolMask | schoolMask = SPELL_SCHOOL_MASK_NORMAL |
||
| ) |
| bool Unit::Attack | ( | Unit * | victim, |
| bool | meleeAttack | ||
| ) |
| void Unit::AttackerStateUpdate | ( | Unit * | victim, |
| WeaponAttackType | attType = BASE_ATTACK, |
||
| bool | extra = false, |
||
| bool | ignoreCasting = false |
||
| ) |
| bool Unit::AttackStop | ( | ) |
| void Unit::BuildCooldownPacket | ( | WorldPacket & | data, |
| uint8 | flags, | ||
| PacketCooldowns const & | cooldowns | ||
| ) |
| void Unit::BuildCooldownPacket | ( | WorldPacket & | data, |
| uint8 | flags, | ||
| uint32 | spellId, | ||
| uint32 | cooldown | ||
| ) |
| void Unit::BuildHeartBeatMsg | ( | WorldPacket * | data | ) | const |
| void Unit::BuildMovementPacket | ( | ByteBuffer * | data | ) | const |
|
overrideprotectedvirtual |
Reimplemented from Object.
|
static |
|
static |
|
static |
| uint32 Unit::CalculateDamage | ( | WeaponAttackType | attType, |
| bool | normalized, | ||
| bool | addTotalPct, | ||
| uint8 | itemDamagesMask = 0 |
||
| ) |
| float Unit::CalculateDefaultCoefficient | ( | SpellInfo const * | spellInfo, |
| DamageEffectType | damagetype | ||
| ) | const |
| float Unit::CalculateLevelPenalty | ( | SpellInfo const * | spellProto | ) | const |
| void Unit::CalculateMeleeDamage | ( | Unit * | victim, |
| CalcDamageInfo * | damageInfo, | ||
| WeaponAttackType | attackType = BASE_ATTACK, |
||
| const bool | sittingVictim = false |
||
| ) |
|
pure virtual |
| int32 Unit::CalculateSpellDamage | ( | Unit const * | target, |
| SpellInfo const * | spellProto, | ||
| uint8 | effect_index, | ||
| int32 const * | basePoints = nullptr |
||
| ) | const |
| void Unit::CalculateSpellDamageTaken | ( | SpellNonMeleeDamage * | damageInfo, |
| int32 | damage, | ||
| SpellInfo const * | spellInfo, | ||
| WeaponAttackType | attackType = BASE_ATTACK, |
||
| bool | crit = false |
||
| ) |
|
inline |
|
inline |
|
inline |
| bool Unit::CanHaveThreatList | ( | ) | const |
|
inline |
|
inline |
|
inline |
| bool Unit::CanRestoreMana | ( | SpellInfo const * | spellInfo | ) | const |
|
virtual |
this method checks the current flag of a unit
These flags can be set within the database or dynamically changed at runtime UNIT_FLAG_SWIMMING must be updated when a unit enters a swimmable area
Reimplemented in Creature.
|
inline |
| SpellCastResult Unit::CastCustomSpell | ( | uint32 | spellId, |
| CustomSpellValues const & | value, | ||
| Unit * | victim = nullptr, |
||
| TriggerCastFlags | triggerFlags = TRIGGERED_NONE, |
||
| Item * | castItem = nullptr, |
||
| AuraEffect const * | triggeredByAura = nullptr, |
||
| ObjectGuid | originalCaster = ObjectGuid::Empty |
||
| ) |
| SpellCastResult Unit::CastCustomSpell | ( | uint32 | spellId, |
| SpellValueMod | mod, | ||
| int32 | value, | ||
| Unit * | victim, | ||
| bool | triggered, | ||
| Item * | castItem = nullptr, |
||
| AuraEffect const * | triggeredByAura = nullptr, |
||
| ObjectGuid | originalCaster = ObjectGuid::Empty |
||
| ) |
| SpellCastResult Unit::CastCustomSpell | ( | uint32 | spellId, |
| SpellValueMod | mod, | ||
| int32 | value, | ||
| Unit * | victim = nullptr, |
||
| TriggerCastFlags | triggerFlags = TRIGGERED_NONE, |
||
| Item * | castItem = nullptr, |
||
| AuraEffect const * | triggeredByAura = nullptr, |
||
| ObjectGuid | originalCaster = ObjectGuid::Empty |
||
| ) |
| SpellCastResult Unit::CastCustomSpell | ( | Unit * | victim, |
| uint32 | spellId, | ||
| int32 const * | bp0, | ||
| int32 const * | bp1, | ||
| int32 const * | bp2, | ||
| bool | triggered, | ||
| Item * | castItem = nullptr, |
||
| AuraEffect const * | triggeredByAura = nullptr, |
||
| ObjectGuid | originalCaster = ObjectGuid::Empty |
||
| ) |
| void Unit::CastDelayedSpellWithPeriodicAmount | ( | Unit * | caster, |
| uint32 | spellId, | ||
| AuraType | auraType, | ||
| int32 | addAmount, | ||
| uint8 | effectIndex = 0 |
||
| ) |
| void Unit::CastPetAura | ( | PetAura const * | aura | ) |
| SpellCastResult Unit::CastSpell | ( | float | x, |
| float | y, | ||
| float | z, | ||
| uint32 | spellId, | ||
| bool | triggered, | ||
| Item * | castItem = nullptr, |
||
| AuraEffect const * | triggeredByAura = nullptr, |
||
| ObjectGuid | originalCaster = ObjectGuid::Empty |
||
| ) |
| SpellCastResult Unit::CastSpell | ( | GameObject * | go, |
| uint32 | spellId, | ||
| bool | triggered, | ||
| Item * | castItem = nullptr, |
||
| AuraEffect * | triggeredByAura = nullptr, |
||
| ObjectGuid | originalCaster = ObjectGuid::Empty |
||
| ) |
| SpellCastResult Unit::CastSpell | ( | SpellCastTargets const & | targets, |
| SpellInfo const * | spellInfo, | ||
| CustomSpellValues const * | value, | ||
| TriggerCastFlags | triggerFlags = TRIGGERED_NONE, |
||
| Item * | castItem = nullptr, |
||
| AuraEffect const * | triggeredByAura = nullptr, |
||
| ObjectGuid | originalCaster = ObjectGuid::Empty |
||
| ) |
| SpellCastResult Unit::CastSpell | ( | Unit * | victim, |
| SpellInfo const * | spellInfo, | ||
| bool | triggered, | ||
| Item * | castItem = nullptr, |
||
| AuraEffect const * | triggeredByAura = nullptr, |
||
| ObjectGuid | originalCaster = ObjectGuid::Empty |
||
| ) |
| SpellCastResult Unit::CastSpell | ( | Unit * | victim, |
| SpellInfo const * | spellInfo, | ||
| TriggerCastFlags | triggerFlags = TRIGGERED_NONE, |
||
| Item * | castItem = nullptr, |
||
| AuraEffect const * | triggeredByAura = nullptr, |
||
| ObjectGuid | originalCaster = ObjectGuid::Empty |
||
| ) |
| SpellCastResult Unit::CastSpell | ( | Unit * | victim, |
| uint32 | spellId, | ||
| bool | triggered, | ||
| Item * | castItem = nullptr, |
||
| AuraEffect const * | triggeredByAura = nullptr, |
||
| ObjectGuid | originalCaster = ObjectGuid::Empty |
||
| ) |
| SpellCastResult Unit::CastSpell | ( | Unit * | victim, |
| uint32 | spellId, | ||
| TriggerCastFlags | triggerFlags = TRIGGERED_NONE, |
||
| Item * | castItem = nullptr, |
||
| AuraEffect const * | triggeredByAura = nullptr, |
||
| ObjectGuid | originalCaster = ObjectGuid::Empty |
||
| ) |
| void Unit::CastStop | ( | uint32 | except_spellid = 0, |
| bool | withInstant = true |
||
| ) |
| void Unit::ChangeSeat | ( | int8 | seatId, |
| bool | next = true |
||
| ) |
| void Unit::CleanupBeforeRemoveFromMap | ( | bool | finalCleanup | ) |
|
overridevirtual |
Reimplemented from WorldObject.
| void Unit::ClearAllReactives | ( | ) |
| void Unit::ClearComboPointHolders | ( | ) |
| void Unit::ClearComboPoints | ( | ) |
|
inline |
| void Unit::ClearInCombat | ( | ) |
| void Unit::ClearInPetCombat | ( | ) |
| void Unit::CombatStart | ( | Unit * | target, |
| bool | initialAggro = true |
||
| ) |
| void Unit::CombatStop | ( | bool | includingCast = false | ) |
| void Unit::CombatStopWithPets | ( | bool | includingCast = false | ) |
|
static |
| void Unit::DealMeleeDamage | ( | CalcDamageInfo * | damageInfo, |
| bool | durabilityLoss | ||
| ) |
| void Unit::DealSpellDamage | ( | SpellNonMeleeDamage * | damageInfo, |
| bool | durabilityLoss, | ||
| Spell const * | spell = nullptr |
||
| ) |
| void Unit::DelayOwnedAuras | ( | uint32 | spellId, |
| ObjectGuid | caster, | ||
| int32 | delaytime | ||
| ) |
| void Unit::DeleteCharmInfo | ( | ) |
| void Unit::DeMorph | ( | ) |
| void Unit::DisableRotate | ( | bool | apply | ) |
| void Unit::DisableSpline | ( | ) |
| void Unit::Dismount | ( | ) |
| void Unit::ExecuteDelayedUnitAINotifyEvent | ( | ) |
| void Unit::ExecuteDelayedUnitRelocationEvent | ( | ) |
| void Unit::ExitVehicle | ( | Position const * | exitPosition = nullptr | ) |
This function can be called at upper level code to initialize an exit from the passenger's side.
The following call would not even be executed successfully as the SPELL_AURA_CONTROL_VEHICLE unapply handler already calls _ExitVehicle without specifying an exitposition. The subsequent call below would return on if (!m_vehicle).
To do: We need to allow SPELL_AURA_CONTROL_VEHICLE unapply handlers in spellscripts to specify exit coordinates and either store those per passenger, or we need to init spline movement based on those coordinates in unapply handlers, and relocate exiting passengers based on Unit::moveSpline data. Either way, Coming Soon(TM)
| void Unit::FinishSpell | ( | CurrentSpellTypes | spellType, |
| bool | ok = true |
||
| ) |
| Player * Unit::GetAffectingPlayer | ( | ) | const |
| float Unit::GetAPMultiplier | ( | WeaponAttackType | attType, |
| bool | normalized | ||
| ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| Aura * Unit::GetAura | ( | uint32 | spellId, |
| ObjectGuid | casterGUID = ObjectGuid::Empty, |
||
| ObjectGuid | itemCasterGUID = ObjectGuid::Empty, |
||
| uint8 | reqEffMask = 0 |
||
| ) | const |
| AuraApplication * Unit::GetAuraApplication | ( | uint32 | spellId, |
| ObjectGuid | casterGUID = ObjectGuid::Empty, |
||
| ObjectGuid | itemCasterGUID = ObjectGuid::Empty, |
||
| uint8 | reqEffMask = 0, |
||
| AuraApplication * | except = nullptr |
||
| ) | const |
| AuraApplication * Unit::GetAuraApplicationOfRankedSpell | ( | uint32 | spellId, |
| ObjectGuid | casterGUID = ObjectGuid::Empty, |
||
| ObjectGuid | itemCasterGUID = ObjectGuid::Empty, |
||
| uint8 | reqEffMask = 0, |
||
| AuraApplication * | except = nullptr |
||
| ) | const |
| AuraEffect * Unit::GetAuraEffect | ( | AuraType | type, |
| SpellFamilyNames | family, | ||
| uint32 | familyFlag1, | ||
| uint32 | familyFlag2, | ||
| uint32 | familyFlag3, | ||
| ObjectGuid | casterGUID = ObjectGuid::Empty |
||
| ) | const |
| AuraEffect * Unit::GetAuraEffect | ( | AuraType | type, |
| SpellFamilyNames | name, | ||
| uint32 | iconId, | ||
| uint8 | effIndex | ||
| ) | const |
| AuraEffect * Unit::GetAuraEffect | ( | uint32 | spellId, |
| uint8 | effIndex, | ||
| ObjectGuid | casterGUID = ObjectGuid::Empty |
||
| ) | const |
| AuraEffect * Unit::GetAuraEffectDummy | ( | uint32 | spellid | ) | const |
| AuraEffect * Unit::GetAuraEffectOfRankedSpell | ( | uint32 | spellId, |
| uint8 | effIndex, | ||
| ObjectGuid | casterGUID = ObjectGuid::Empty |
||
| ) | const |
|
inline |
| Aura * Unit::GetAuraOfRankedSpell | ( | uint32 | spellId, |
| ObjectGuid | casterGUID = ObjectGuid::Empty, |
||
| ObjectGuid | itemCasterGUID = ObjectGuid::Empty, |
||
| uint8 | reqEffMask = 0 |
||
| ) | const |
| uint32 Unit::GetCastingTimeForBonus | ( | SpellInfo const * | spellProto, |
| DamageEffectType | damagetype, | ||
| uint32 | CastingTime | ||
| ) | const |
| Unit * Unit::GetCharm | ( | ) | const |
| Unit * Unit::GetCharmer | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| Player * Unit::GetCharmerOrOwnerPlayerOrPlayerItself | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
overridevirtual |
Return collision height sent to client.
Reimplemented from WorldObject.
|
overridevirtual |
this method gets the radius of a Unit by DB if any value is defined, otherwise it gets the value by the DBC
If the player is mounted the radius also takes in consideration the mount size
Reimplemented from WorldObject.
|
overridevirtual |
this method gets the diameter of a Unit by DB if any value is defined, otherwise it gets the value by the DBC
If the player is mounted the diameter also takes in consideration the mount size
Dismounting case - use basic default model data
Reimplemented from WorldObject.
|
private |
|
private |
|
inlineoverridevirtual |
Reimplemented from WorldObject.
|
inline |
|
inline |
--------—Combo point system----------------—
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| uint32 Unit::GetCreatureType | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
overridevirtual |
Reimplemented from WorldObject.
|
virtual |
| DiminishingLevels Unit::GetDiminishing | ( | DiminishingGroup | group | ) |
| TransportBase * Unit::GetDirectTransport | ( | ) | const |
Returns the transport this unit is on directly (if on vehicle and transport, return vehicle)
| uint32 Unit::GetDiseasesByCaster | ( | ObjectGuid | casterGUID, |
| uint8 | mode = 0 |
||
| ) |
| void Unit::GetDispellableAuraList | ( | Unit * | caster, |
| uint32 | dispelMask, | ||
| DispelChargesList & | dispelList | ||
| ) |
|
inline |
| uint32 Unit::GetDoTsByCaster | ( | ObjectGuid | casterGUID | ) | const |
|
inline |
| DynamicObject * Unit::GetDynObject | ( | uint32 | spellId | ) |
|
static |
|
inline |
|
inline |
| ReputationRank Unit::GetFactionReactionTo | ( | FactionTemplateEntry const * | factionTemplateEntry, |
| Unit const * | target | ||
| ) | const |
| FactionTemplateEntry const * Unit::GetFactionTemplateEntry | ( | ) | const |
| Unit * Unit::GetFirstControlled | ( | ) | const |
| Minion * Unit::GetFirstMinion | ( | ) | const |
|
inlinevirtual |
Reimplemented in Minion.
| GameObject * Unit::GetGameObject | ( | uint32 | spellId | ) | const |
|
inline |
| Guardian * Unit::GetGuardianPet | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
Reimplemented from WorldObject.
|
inline |
| int32 Unit::GetMaxNegativeAuraModifierByAffectMask | ( | AuraType | auratype, |
| SpellInfo const * | affectedSpell | ||
| ) | const |
| int32 Unit::GetMaxPositiveAuraModifierByAffectMask | ( | AuraType | auratype, |
| SpellInfo const * | affectedSpell | ||
| ) | const |
| int32 Unit::GetMaxPositiveAuraModifierByMiscMask | ( | AuraType | auratype, |
| uint32 | misc_mask, | ||
| const AuraEffect * | except = nullptr |
||
| ) | const |
|
inline |
|
pure virtual |
| float Unit::GetMeleeRange | ( | Unit const * | target | ) | const |
|
inline |
|
inline |
| uint32 Unit::GetModelForForm | ( | ShapeshiftForm | form | ) | const |
| uint32 Unit::GetModelForTotem | ( | PlayerTotemType | totemType | ) |
| float Unit::GetModifierValue | ( | UnitMods | unitMod, |
| UnitModifierType | modifierType | ||
| ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| Unit * Unit::GetNextRandomRaidMemberOrPet | ( | float | radius | ) |
|
inline |
| Aura * Unit::GetOwnedAura | ( | uint32 | spellId, |
| ObjectGuid | casterGUID = ObjectGuid::Empty, |
||
| ObjectGuid | itemCasterGUID = ObjectGuid::Empty, |
||
| uint8 | reqEffMask = 0, |
||
| Aura * | except = nullptr |
||
| ) | const |
|
inline |
|
inline |
| Unit * Unit::GetOwner | ( | ) | const |
|
inline |
| void Unit::GetPartyMembers | ( | std::list< Unit * > & | units | ) |
|
inline |
| uint32 Unit::GetPhaseByAuras | ( | ) | const |
|
inline |
|
inline |
|
inline |
| void Unit::GetProcAurasTriggeredOnEvent | ( | std::list< AuraApplication * > & | aurasTriggeringProc, |
| std::list< AuraApplication * > * | procAuras, | ||
| ProcEventInfo | eventInfo | ||
| ) |
| uint8 Unit::getRace | ( | bool | original = false | ) | const |
| bool Unit::GetRandomContactPoint | ( | Unit const * | target, |
| float & | x, | ||
| float & | y, | ||
| float & | z, | ||
| bool | force = false |
||
| ) | const |
|
inline |
| ReputationRank Unit::GetReactionTo | ( | Unit const * | target, |
| bool | checkOriginalFaction = false |
||
| ) | const |
|
inline |
| Unit * Unit::GetRedirectThreatTarget | ( | ) | const |
| uint32 Unit::GetResistance | ( | SpellSchoolMask | mask | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
pure virtual |
|
inline |
| float Unit::GetSpeed | ( | UnitMoveType | mtype | ) | const |
|
inline |
|
inline |
| Player * Unit::GetSpellModOwner | ( | ) | const |
| SpellSchools Unit::GetSpellSchoolByAuraGroup | ( | UnitMods | unitMod | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| float Unit::GetTotalAttackPowerValue | ( | WeaponAttackType | attType, |
| Unit * | pVictim = nullptr |
||
| ) | const |
| int32 Unit::GetTotalAuraModifierByAffectMask | ( | AuraType | auratype, |
| SpellInfo const * | affectedSpell | ||
| ) | const |
| float Unit::GetTotalAuraModValue | ( | UnitMods | unitMod | ) | const |
| float Unit::GetTotalAuraMultiplier | ( | AuraType | auratype | ) | const |
| float Unit::GetTotalAuraMultiplierByAffectMask | ( | AuraType | auratype, |
| SpellInfo const * | affectedSpell | ||
| ) | const |
| float Unit::GetTotalStatValue | ( | Stats | stat, |
| float | additionalValue = 0.0f |
||
| ) | const |
|
inline |
|
overridevirtual |
Reimplemented from WorldObject.
| float Unit::GetUnitBlockChance | ( | ) | const |
| float Unit::GetUnitCriticalChance | ( | WeaponAttackType | attackType, |
| Unit const * | victim | ||
| ) | const |
| float Unit::GetUnitDodgeChance | ( | ) | const |
|
inline |
|
inline |
| float Unit::GetUnitMissChance | ( | WeaponAttackType | attType | ) | const |
|
inline |
| float Unit::GetUnitParryChance | ( | ) | const |
|
inline |
| Unit * Unit::GetVehicleBase | ( | ) | const |
| Creature * Unit::GetVehicleCreatureBase | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
| float Unit::GetWeaponDamageRange | ( | WeaponAttackType | attType, |
| WeaponDamageRange | type, | ||
| uint8 | damageIndex = 0 |
||
| ) | const |
| float Unit::GetWeaponProcChance | ( | ) | const |
| uint32 Unit::GetWeaponSkillValue | ( | WeaponAttackType | attType, |
| Unit const * | target = nullptr |
||
| ) | const |
|
private |
|
private |
|
private |
|
private |
| void Unit::HandleEmoteCommand | ( | uint32 | emoteId | ) |
|
private |
|
private |
|
static |
First check simple relations from clicker to clickee
Check database conditions
| bool Unit::HandleStatModifier | ( | UnitMods | unitMod, |
| UnitModifierType | modifierType, | ||
| float | amount, | ||
| bool | apply | ||
| ) |
| bool Unit::HasAura | ( | uint32 | spellId, |
| ObjectGuid | casterGUID = ObjectGuid::Empty, |
||
| ObjectGuid | itemCasterGUID = ObjectGuid::Empty, |
||
| uint8 | reqEffMask = 0 |
||
| ) | const |
| bool Unit::HasAuraEffect | ( | uint32 | spellId, |
| uint8 | effIndex, | ||
| ObjectGuid | caster = ObjectGuid::Empty |
||
| ) | const |
| bool Unit::HasAuraState | ( | AuraStateType | flag, |
| SpellInfo const * | spellProto = nullptr, |
||
| Unit const * | Caster = nullptr |
||
| ) | const |
| bool Unit::HasAuraType | ( | AuraType | auraType | ) | const |
| bool Unit::HasAuraTypeWithCaster | ( | AuraType | auratype, |
| ObjectGuid | caster | ||
| ) | const |
| bool Unit::HasAuraTypeWithFamilyFlags | ( | AuraType | auraType, |
| uint32 | familyName, | ||
| uint32 | familyFlags | ||
| ) | const |
| bool Unit::HasAuraWithMechanic | ( | uint32 | mechanicMask | ) | const |
| bool Unit::HasBreakableByDamageCrowdControlAura | ( | Unit * | excludeCasterChannel = nullptr | ) | const |
|
inline |
| bool Unit::HasNegativeAuraWithAttribute | ( | uint32 | flag, |
| ObjectGuid | guid = ObjectGuid::Empty |
||
| ) |
| bool Unit::HasNegativeAuraWithInterruptFlag | ( | uint32 | flag, |
| ObjectGuid | guid = ObjectGuid::Empty |
||
| ) |
|
inline |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in Player.
|
inline |
|
inline |
|
inline |
|
inline |
| bool Unit::HasVisibleAuraType | ( | AuraType | auraType | ) | const |
| bool Unit::haveOffhandWeapon | ( | ) | const |
|
inline |
|
inline |
| void Unit::IncrDiminishing | ( | DiminishingGroup | group | ) |
| CharmInfo * Unit::InitCharmInfo | ( | ) |
|
inline |
| void Unit::InterruptNonMeleeSpells | ( | bool | withDelayed, |
| uint32 | spellid = 0, |
||
| bool | withInstant = true, |
||
| bool | bySelf = false |
||
| ) |
| void Unit::InterruptSpell | ( | CurrentSpellTypes | spellType, |
| bool | withDelayed = true, |
||
| bool | withInstant = true, |
||
| bool | bySelf = false |
||
| ) |
|
inline |
|
overrideprotectedvirtual |
Reimplemented from WorldObject.
|
overrideprotectedvirtual |
Reimplemented from WorldObject.
|
inline |
| bool Unit::isAttackingPlayer | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
| bool Unit::isBlockCritical | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| bool Unit::IsFalling | ( | ) | const |
|
inline |
|
inline |
|
inline |
| bool Unit::IsFriendlyTo | ( | Unit const * | unit | ) | const |
| bool Unit::isFrozen | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
| bool Unit::IsHostileTo | ( | Unit const * | unit | ) | const |
| bool Unit::IsHostileToPlayers | ( | ) | const |
|
inline |
|
inline |
| bool Unit::IsImmunedToDamage | ( | Spell const * | spell | ) | const |
| bool Unit::IsImmunedToDamage | ( | SpellInfo const * | spellInfo | ) | const |
| bool Unit::IsImmunedToDamage | ( | SpellSchoolMask | meleeSchoolMask | ) | const |
| bool Unit::IsImmunedToDamageOrSchool | ( | SpellInfo const * | spellInfo | ) | const |
| bool Unit::IsImmunedToDamageOrSchool | ( | SpellSchoolMask | meleeSchoolMask | ) | const |
| bool Unit::IsImmunedToSchool | ( | Spell const * | spell | ) | const |
| bool Unit::IsImmunedToSchool | ( | SpellInfo const * | spellInfo | ) | const |
| bool Unit::IsImmunedToSchool | ( | SpellSchoolMask | meleeSchoolMask | ) | const |
Reimplemented in Creature.
Reimplemented in Creature, and Totem.
|
inline |
|
inline |
|
inline |
| bool Unit::isInAccessiblePlaceFor | ( | Creature const * | c | ) | const |
| bool Unit::isInBackInMap | ( | Unit const * | target, |
| float | distance, | ||
| float | arc = M_PI |
||
| ) | const |
|
inline |
| bool Unit::IsInCombatWith | ( | Unit const * | who | ) | const |
| bool Unit::IsInDisallowedMountForm | ( | ) | const |
|
inline |
|
inline |
| bool Unit::isInFrontInMap | ( | Unit const * | target, |
| float | distance, | ||
| float | arc = M_PI |
||
| ) | const |
|
inline |
| bool Unit::IsInPartyWith | ( | Unit const * | unit | ) | const |
| bool Unit::IsInRaidWith | ( | Unit const * | unit | ) | const |
|
inline |
|
inline |
|
virtual |
Reimplemented in Player.
|
inline |
|
inline |
|
virtual |
Reimplemented in Creature.
|
inline |
| bool Unit::IsNeutralToAll | ( | ) | const |
| bool Unit::IsNonMeleeSpellCast | ( | bool | withDelayed, |
| bool | skipChanneled = false, |
||
| bool | skipAutorepeat = false, |
||
| bool | isAutoshoot = false, |
||
| bool | skipInstant = true |
||
| ) | const |
|
inline |
|
inline |
| bool Unit::IsPetAura | ( | Aura const * | aura | ) |
|
inline |
| bool Unit::IsPolymorphed | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| AuraEffect * Unit::IsScriptOverriden | ( | SpellInfo const * | spell, |
| int32 | script | ||
| ) | const |
|
inline |
| bool Unit::IsSitState | ( | ) | const |
| bool Unit::isSpellBlocked | ( | Unit * | victim, |
| SpellInfo const * | spellProto, | ||
| WeaponAttackType | attackType = BASE_ATTACK |
||
| ) |
|
inline |
|
inline |
|
inline |
| bool Unit::IsStandState | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
| bool Unit::isTargetableForAttack | ( | bool | checkFakeDeath = true, |
| Unit const * | byWho = nullptr |
||
| ) | const |
|
inline |
|
inline |
|
inline |
|
private |
|
inline |
| bool Unit::IsUnderLastManaUseEffect | ( | ) | const |
|
virtual |
| bool Unit::IsValidAssistTarget | ( | Unit const * | target | ) | const |
| bool Unit::IsValidAttackTarget | ( | Unit const * | target | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
| bool Unit::IsWithinCombatRange | ( | Unit const * | obj, |
| float | dist2compare | ||
| ) | const |
| bool Unit::IsWithinMeleeRange | ( | Unit const * | obj, |
| float | dist = 0.f |
||
| ) | const |
| bool Unit::IsWithinRange | ( | Unit const * | obj, |
| float | dist | ||
| ) | const |
| void Unit::JumpTo | ( | float | speedXY, |
| float | speedZ, | ||
| bool | forward = true |
||
| ) |
| void Unit::JumpTo | ( | WorldObject * | obj, |
| float | speedZ | ||
| ) |
|
static |
| void Unit::KnockbackFrom | ( | float | x, |
| float | y, | ||
| float | speedXY, | ||
| float | speedZ | ||
| ) |
| SpellMissInfo Unit::MagicSpellHitResult | ( | Unit * | victim, |
| SpellInfo const * | spell | ||
| ) |
| uint32 Unit::MeleeDamageBonusDone | ( | Unit * | pVictim, |
| uint32 | damage, | ||
| WeaponAttackType | attType, | ||
| SpellInfo const * | spellProto = nullptr, |
||
| SpellSchoolMask | damageSchoolMask = SPELL_SCHOOL_MASK_NORMAL |
||
| ) |
| uint32 Unit::MeleeDamageBonusTaken | ( | Unit * | attacker, |
| uint32 | pdamage, | ||
| WeaponAttackType | attType, | ||
| SpellInfo const * | spellProto = nullptr, |
||
| SpellSchoolMask | damageSchoolMask = SPELL_SCHOOL_MASK_NORMAL |
||
| ) |
| SpellMissInfo Unit::MeleeSpellHitResult | ( | Unit * | victim, |
| SpellInfo const * | spell | ||
| ) |
| float Unit::MeleeSpellMissChance | ( | Unit const * | victim, |
| WeaponAttackType | attType, | ||
| int32 | skillDiff, | ||
| uint32 | spellId | ||
| ) | const |
| void Unit::ModifyAuraState | ( | AuraStateType | flag, |
| bool | apply | ||
| ) |
|
inline |
| void Unit::ModSpellCastTime | ( | SpellInfo const * | spellProto, |
| int32 & | castTime, | ||
| Spell * | spell = nullptr |
||
| ) |
| int32 Unit::ModSpellDuration | ( | SpellInfo const * | spellProto, |
| Unit const * | target, | ||
| int32 | duration, | ||
| bool | positive, | ||
| uint32 | effectMask | ||
| ) |
| void Unit::MonsterMoveWithSpeed | ( | float | x, |
| float | y, | ||
| float | z, | ||
| float | speed | ||
| ) |
| void Unit::NearTeleportTo | ( | float | x, |
| float | y, | ||
| float | z, | ||
| float | orientation, | ||
| bool | casting = false, |
||
| bool | vehicleTeleport = false, |
||
| bool | withPet = false, |
||
| bool | removeTransport = false |
||
| ) |
| void Unit::NearTeleportTo | ( | Position & | pos, |
| bool | casting = false, |
||
| bool | vehicleTeleport = false, |
||
| bool | withPet = false, |
||
| bool | removeTransport = false |
||
| ) |
| void Unit::OutDebugInfo | ( | ) | const |
|
static |
| void Unit::ProcDamageAndSpellFor | ( | bool | isVictim, |
| Unit * | target, | ||
| uint32 | procFlag, | ||
| uint32 | procExtra, | ||
| WeaponAttackType | attType, | ||
| SpellInfo const * | procSpellInfo, | ||
| uint32 | damage, | ||
| SpellInfo const * | procAura = nullptr, |
||
| int8 | procAuraEffectIndex = -1, |
||
| Spell const * | procSpell = nullptr, |
||
| DamageInfo * | damageInfo = nullptr, |
||
| HealInfo * | healInfo = nullptr, |
||
| uint32 | procPhase = 2 |
||
| ) |
|
private |
|
overridevirtual |
Reimplemented from WorldObject.
|
virtual |
Reimplemented in Player.
|
inlinevirtual |
|
inline |
-------—End of Pet responses methods-------—
| void Unit::RemoveAllAttackers | ( | ) |
| void Unit::RemoveAllAuras | ( | ) |
| void Unit::RemoveAllAurasExceptType | ( | AuraType | type | ) |
| void Unit::RemoveAllAurasOnDeath | ( | ) |
| void Unit::RemoveAllAurasRequiringDeadTarget | ( | ) |
| void Unit::RemoveAllControlled | ( | bool | onDeath = false | ) |
| void Unit::RemoveAllDynObjects | ( | ) |
| void Unit::RemoveAllGameObjects | ( | ) |
| void Unit::RemoveAllMinionsByEntry | ( | uint32 | entry | ) |
| void Unit::RemoveAppliedAuras | ( | std::function< bool(AuraApplication const *)> const & | check | ) |
| void Unit::RemoveAppliedAuras | ( | uint32 | spellId, |
| std::function< bool(AuraApplication const *)> const & | check | ||
| ) |
| void Unit::RemoveAreaAurasDueToLeaveWorld | ( | ) |
| void Unit::RemoveArenaAuras | ( | ) |
| void Unit::RemoveAura | ( | Aura * | aur, |
| AuraRemoveMode | mode = AURA_REMOVE_BY_DEFAULT |
||
| ) |
| void Unit::RemoveAura | ( | AuraApplication * | aurApp, |
| AuraRemoveMode | mode = AURA_REMOVE_BY_DEFAULT |
||
| ) |
| void Unit::RemoveAura | ( | AuraApplicationMap::iterator & | i, |
| AuraRemoveMode | mode = AURA_REMOVE_BY_DEFAULT |
||
| ) |
| void Unit::RemoveAura | ( | uint32 | spellId, |
| ObjectGuid | casterGUID = ObjectGuid::Empty, |
||
| uint8 | reqEffMask = 0, |
||
| AuraRemoveMode | removeMode = AURA_REMOVE_BY_DEFAULT |
||
| ) |
| void Unit::RemoveAuraFromStack | ( | uint32 | spellId, |
| ObjectGuid | casterGUID = ObjectGuid::Empty, |
||
| AuraRemoveMode | removeMode = AURA_REMOVE_BY_DEFAULT |
||
| ) |
| void Unit::RemoveAurasByShapeShift | ( | ) |
| void Unit::RemoveAurasByType | ( | AuraType | auraType, |
| ObjectGuid | casterGUID = ObjectGuid::Empty, |
||
| Aura * | except = nullptr, |
||
| bool | negative = true, |
||
| bool | positive = true |
||
| ) |
| void Unit::RemoveAurasDueToItemSpell | ( | uint32 | spellId, |
| ObjectGuid | castItemGuid | ||
| ) |
| void Unit::RemoveAurasDueToSpell | ( | uint32 | spellId, |
| ObjectGuid | casterGUID = ObjectGuid::Empty, |
||
| uint8 | reqEffMask = 0, |
||
| AuraRemoveMode | removeMode = AURA_REMOVE_BY_DEFAULT |
||
| ) |
| void Unit::RemoveAurasDueToSpellByDispel | ( | uint32 | spellId, |
| uint32 | dispellerSpellId, | ||
| ObjectGuid | casterGUID, | ||
| Unit * | dispeller, | ||
| uint8 | chargesRemoved = 1 |
||
| ) |
| void Unit::RemoveAurasDueToSpellBySteal | ( | uint32 | spellId, |
| ObjectGuid | casterGUID, | ||
| Unit * | stealer | ||
| ) |
| void Unit::RemoveAurasWithAttribute | ( | uint32 | flags | ) |
| void Unit::RemoveAurasWithFamily | ( | SpellFamilyNames | family, |
| uint32 | familyFlag1, | ||
| uint32 | familyFlag2, | ||
| uint32 | familyFlag3, | ||
| ObjectGuid | casterGUID | ||
| ) |
| void Unit::RemoveAurasWithInterruptFlags | ( | uint32 | flag, |
| uint32 | except = 0, |
||
| bool | isAutoshot = false |
||
| ) |
| void Unit::RemoveAurasWithMechanic | ( | uint32 | mechanic_mask, |
| AuraRemoveMode | removemode = AURA_REMOVE_BY_DEFAULT, |
||
| uint32 | except = 0 |
||
| ) |
| void Unit::RemoveBindSightAuras | ( | ) |
| void Unit::RemoveCharmAuras | ( | ) |
| void Unit::RemoveCharmedBy | ( | Unit * | charmer | ) |
|
inline |
| bool Unit::RemoveDynObject | ( | uint32 | spellId | ) |
| void Unit::RemoveEvadeAuras | ( | ) |
|
inline |
|
inline |
|
overridevirtual |
Reimplemented from WorldObject.
| void Unit::RemoveGameObject | ( | GameObject * | gameObj, |
| bool | del | ||
| ) |
| void Unit::RemoveGameObject | ( | uint32 | spellid, |
| bool | del | ||
| ) |
|
inline |
| void Unit::RemoveMovementImpairingAuras | ( | bool | withRoot | ) |
| void Unit::RemoveNotOwnSingleTargetAuras | ( | ) |
|
inline |
| void Unit::RemoveOwnedAura | ( | Aura * | aura, |
| AuraRemoveMode | removeMode = AURA_REMOVE_BY_DEFAULT |
||
| ) |
| void Unit::RemoveOwnedAura | ( | AuraMap::iterator & | i, |
| AuraRemoveMode | removeMode = AURA_REMOVE_BY_DEFAULT |
||
| ) |
| void Unit::RemoveOwnedAura | ( | uint32 | spellId, |
| ObjectGuid | casterGUID = ObjectGuid::Empty, |
||
| uint8 | reqEffMask = 0, |
||
| AuraRemoveMode | removeMode = AURA_REMOVE_BY_DEFAULT |
||
| ) |
| void Unit::RemoveOwnedAuras | ( | std::function< bool(Aura const *)> const & | check | ) |
| void Unit::RemovePetAura | ( | PetAura const * | petSpell | ) |
| void Unit::RemovePlayerFromVision | ( | Player * | player | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void Unit::RemoveVehicleKit | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
| void Unit::resetAttackTimer | ( | WeaponAttackType | type = BASE_ATTACK | ) |
|
inline |
| void Unit::RestoreDisplayId | ( | ) |
| void Unit::RestoreFaction | ( | ) |
| MeleeHitOutcome Unit::RollMeleeOutcomeAgainst | ( | Unit const * | victim, |
| WeaponAttackType | attType | ||
| ) | const |
| MeleeHitOutcome Unit::RollMeleeOutcomeAgainst | ( | Unit const * | victim, |
| WeaponAttackType | attType, | ||
| int32 | crit_chance, | ||
| int32 | miss_chance, | ||
| int32 | dodge_chance, | ||
| int32 | parry_chance, | ||
| int32 | block_chance | ||
| ) | const |
|
virtual |
Reimplemented in Player.
|
virtual |
Reimplemented in Player.
| Unit * Unit::SelectNearbyNoTotemTarget | ( | Unit * | exclude = nullptr, |
| float | dist = NOMINAL_MELEE_RANGE |
||
| ) | const |
| Unit * Unit::SelectNearbyTarget | ( | Unit * | exclude = nullptr, |
| float | dist = NOMINAL_MELEE_RANGE |
||
| ) | const |
| void Unit::SendAttackStateUpdate | ( | CalcDamageInfo * | damageInfo | ) |
Probably used for debugging purposes, as it is not known to appear on retail servers
| void Unit::SendAttackStateUpdate | ( | uint32 | HitInfo, |
| Unit * | target, | ||
| uint8 | SwingType, | ||
| SpellSchoolMask | damageSchoolMask, | ||
| uint32 | Damage, | ||
| uint32 | AbsorbDamage, | ||
| uint32 | Resist, | ||
| VictimState | TargetState, | ||
| uint32 | BlockedAmount | ||
| ) |
| void Unit::SendChangeCurrentVictimOpcode | ( | HostileReference * | pHostileReference | ) |
| void Unit::SendClearTarget | ( | ) |
| void Unit::SendClearThreatListOpcode | ( | ) |
| void Unit::SendComboPoints | ( | ) |
| void Unit::SendHealSpellLog | ( | Unit * | victim, |
| uint32 | SpellID, | ||
| uint32 | Damage, | ||
| uint32 | OverHeal, | ||
| uint32 | Absorb, | ||
| bool | critical = false |
||
| ) |
| void Unit::SendMeleeAttackStop | ( | Unit * | victim = nullptr | ) |
Can also take the value 0x01, which seems related to updating rotation
| void Unit::SendMonsterMove | ( | float | NewPosX, |
| float | NewPosY, | ||
| float | NewPosZ, | ||
| uint32 | TransitTime, | ||
| SplineFlags | sf = SPLINEFLAG_WALK_MODE |
||
| ) |
| void Unit::SendMovementFeatherFall | ( | Player * | sendTo | ) |
| void Unit::SendMovementFlagUpdate | ( | bool | self = false | ) |
| void Unit::SendMovementHover | ( | Player * | sendTo | ) |
| void Unit::SendMovementWaterWalking | ( | Player * | sendTo | ) |
| void Unit::SendPeriodicAuraLog | ( | SpellPeriodicAuraLogInfo * | pInfo | ) |
| void Unit::SendPetActionFeedback | ( | uint8 | msg | ) |
| void Unit::SendPetAIReaction | ( | ObjectGuid | guid | ) |
| void Unit::SendPetTalk | ( | uint32 | pettalk | ) |
| void Unit::SendPlaySpellImpact | ( | ObjectGuid | guid, |
| uint32 | id | ||
| ) |
| void Unit::SendRemoveFromThreatListOpcode | ( | HostileReference * | pHostileReference | ) |
| void Unit::SendSpellMiss | ( | Unit * | target, |
| uint32 | spellID, | ||
| SpellMissInfo | missInfo | ||
| ) |
| void Unit::SendSpellNonMeleeDamageLog | ( | SpellNonMeleeDamage * | log | ) |
| void Unit::SendSpellNonMeleeDamageLog | ( | Unit * | target, |
| SpellInfo const * | spellInfo, | ||
| uint32 | Damage, | ||
| SpellSchoolMask | damageSchoolMask, | ||
| uint32 | AbsorbedDamage, | ||
| uint32 | Resist, | ||
| bool | PhysicalDamage, | ||
| uint32 | Blocked, | ||
| bool | CriticalHit = false, |
||
| bool | Split = false |
||
| ) |
| void Unit::SendSpellNonMeleeReflectLog | ( | SpellNonMeleeDamage * | log, |
| Unit * | attacker | ||
| ) |
| void Unit::SendTeleportPacket | ( | Position & | pos | ) |
| void Unit::SendThreatListUpdate | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented in Creature.
|
virtual |
|
inline |
|
inline |
| void Unit::SetCharm | ( | Unit * | target, |
| bool | apply | ||
| ) |
| bool Unit::SetCharmedBy | ( | Unit * | charmer, |
| CharmType | type, | ||
| AuraApplication const * | aurApp = nullptr |
||
| ) |
|
inline |
|
inline |
|
protected |
| void Unit::SetContestedPvP | ( | Player * | attackedPlayer = nullptr, |
| bool | lookForNearContestedGuards = true |
||
| ) |
| void Unit::SetControlled | ( | bool | apply, |
| UnitState | state | ||
| ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void Unit::SetCurrentCastedSpell | ( | Spell * | pSpell | ) |
|
virtual |
Reimplemented in Creature, Minion, Pet, and Player.
|
virtual |
|
virtual |
|
inline |
| void Unit::SetFacingTo | ( | float | ori | ) |
| void Unit::SetFacingToObject | ( | WorldObject * | object | ) |
| void Unit::SetFaction | ( | uint32 | faction | ) |
|
protected |
|
virtual |
|
inline |
| void Unit::SetHealth | ( | uint32 | val | ) |
|
virtual |
Reimplemented in Creature, and Player.
|
inline |
| void Unit::SetImmuneToNPC | ( | bool | apply, |
| bool | keepCombat = false |
||
| ) |
| void Unit::SetImmuneToPC | ( | bool | apply, |
| bool | keepCombat = false |
||
| ) |
| void Unit::SetInFront | ( | WorldObject const * | target | ) |
|
inline |
|
inline |
|
inline |
|
inline |
| void Unit::SetLevel | ( | uint8 | lvl, |
| bool | showLevelChange = true |
||
| ) |
| void Unit::SetMaxHealth | ( | uint32 | val | ) |
| void Unit::SetMinion | ( | Minion * | minion, |
| bool | apply | ||
| ) |
|
inline |
| void Unit::SetModelVisible | ( | bool | on | ) |
|
inline |
|
inline |
|
inline |
| void Unit::SetOwnerGUID | ( | ObjectGuid | owner | ) |
|
inline |
|
overridevirtual |
Reimplemented from WorldObject.
| void Unit::setPowerType | ( | Powers | power | ) |
|
inline |
| void Unit::setRace | ( | uint8 | race | ) |
|
inline |
|
inline |
|
inline |
|
protected |
|
inline |
|
inlinevirtual |
Reimplemented in Player.
| void Unit::SetSpeed | ( | UnitMoveType | mtype, |
| float | rate, | ||
| bool | forced = false |
||
| ) |
|
inline |
|
inline |
| void Unit::SetStandState | ( | uint8 | state | ) |
|
protected |
|
virtual |
Reimplemented in Creature.
|
pure virtual |
|
inline |
|
inline |
|
inline |
|
inline |
| void Unit::SetVisible | ( | bool | x | ) |
|
inline |
|
virtual |
Reimplemented in Creature.
|
virtual |
| int32 Unit::SpellBaseDamageBonusDone | ( | SpellSchoolMask | schoolMask | ) |
| int32 Unit::SpellBaseDamageBonusTaken | ( | SpellSchoolMask | schoolMask, |
| bool | isDoT = false |
||
| ) |
| int32 Unit::SpellBaseHealingBonusDone | ( | SpellSchoolMask | schoolMask | ) |
| int32 Unit::SpellBaseHealingBonusTaken | ( | SpellSchoolMask | schoolMask | ) |
|
static |
|
static |
| uint32 Unit::SpellDamageBonusDone | ( | Unit * | victim, |
| SpellInfo const * | spellProto, | ||
| uint32 | pdamage, | ||
| DamageEffectType | damagetype, | ||
| uint8 | effIndex, | ||
| float | TotalMod = 0.0f, |
||
| uint32 | stack = 1 |
||
| ) |
| uint32 Unit::SpellDamageBonusTaken | ( | Unit * | caster, |
| SpellInfo const * | spellProto, | ||
| uint32 | pdamage, | ||
| DamageEffectType | damagetype, | ||
| uint32 | stack = 1 |
||
| ) |
| float Unit::SpellDoneCritChance | ( | Unit const * | , |
| SpellInfo const * | spellProto, | ||
| SpellSchoolMask | schoolMask, | ||
| WeaponAttackType | attackType, | ||
| bool | skipEffectCheck | ||
| ) | const |
| uint32 Unit::SpellHealingBonusDone | ( | Unit * | victim, |
| SpellInfo const * | spellProto, | ||
| uint32 | healamount, | ||
| DamageEffectType | damagetype, | ||
| uint8 | effIndex, | ||
| float | TotalMod = 0.0f, |
||
| uint32 | stack = 1 |
||
| ) |
| uint32 Unit::SpellHealingBonusTaken | ( | Unit * | caster, |
| SpellInfo const * | spellProto, | ||
| uint32 | healamount, | ||
| DamageEffectType | damagetype, | ||
| uint32 | stack = 1 |
||
| ) |
| SpellMissInfo Unit::SpellHitResult | ( | Unit * | victim, |
| Spell const * | spell, | ||
| bool | canReflect = false |
||
| ) |
| SpellMissInfo Unit::SpellHitResult | ( | Unit * | victim, |
| SpellInfo const * | spell, | ||
| bool | canReflect = false |
||
| ) |
| float Unit::SpellPctDamageModsDone | ( | Unit * | victim, |
| SpellInfo const * | spellProto, | ||
| DamageEffectType | damagetype | ||
| ) |
| float Unit::SpellPctHealingModsDone | ( | Unit * | victim, |
| SpellInfo const * | spellProto, | ||
| DamageEffectType | damagetype | ||
| ) |
| float Unit::SpellTakenCritChance | ( | Unit const * | caster, |
| SpellInfo const * | spellProto, | ||
| SpellSchoolMask | schoolMask, | ||
| float | doneChance, | ||
| WeaponAttackType | attackType, | ||
| bool | skipEffectCheck | ||
| ) | const |
|
inline |
| void Unit::StopAttackFaction | ( | uint32 | faction_id | ) |
| void Unit::StopAttackingInvalidTarget | ( | ) |
| void Unit::StopMoving | ( | ) |
| void Unit::StopMovingOnCurrentPos | ( | ) |
|
virtual |
|
virtual |
| void Unit::TauntApply | ( | Unit * | victim | ) |
| void Unit::TauntFadeOut | ( | Unit * | taunter | ) |
|
virtual |
Reimplemented in Player.
|
virtual |
Reimplemented in Player.
|
inline |
|
inline |
|
inline |
|
inline |
| void Unit::TriggerAurasProcOnEvent | ( | CalcDamageInfo & | damageInfo | ) |
| void Unit::TriggerAurasProcOnEvent | ( | ProcEventInfo & | eventInfo, |
| std::list< AuraApplication * > & | procAuras | ||
| ) |
| void Unit::TriggerAurasProcOnEvent | ( | std::list< AuraApplication * > * | myProcAuras, |
| std::list< AuraApplication * > * | targetProcAuras, | ||
| Unit * | actionTarget, | ||
| uint32 | typeMaskActor, | ||
| uint32 | typeMaskActionTarget, | ||
| uint32 | spellTypeMask, | ||
| uint32 | spellPhaseMask, | ||
| uint32 | hitMask, | ||
| Spell * | spell, | ||
| DamageInfo * | damageInfo, | ||
| HealInfo * | healInfo | ||
| ) |
| void Unit::UnsummonAllTotems | ( | bool | onDeath = false | ) |
|
overridevirtual |
Reimplemented from WorldObject.
|
virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
| void Unit::UpdateAuraForGroup | ( | uint8 | slot | ) |
| void Unit::UpdateCharmAI | ( | ) |
|
virtual |
Reimplemented in Guardian, and Totem.
| void Unit::UpdateHeight | ( | float | newZ | ) |
Only server-side height update, does not broadcast to client.
| void Unit::UpdateInterruptMask | ( | ) |
|
pure virtual |
|
pure virtual |
|
overridevirtual |
Reimplemented from WorldObject.
| void Unit::UpdateOrientation | ( | float | orientation | ) |
Only server-side orientation update, does not broadcast to client.
|
inline |
|
virtual |
Reimplemented in Player.
| void Unit::UpdateReactives | ( | uint32 | p_time | ) |
|
pure virtual |
| void Unit::UpdateSpeed | ( | UnitMoveType | mtype, |
| bool | forced | ||
| ) |
|
private |
|
private |
|
pure virtual |
|
virtual |
Reimplemented in Player.
Reimplemented in Player.
|
virtual |
Reimplemented in Player.
|
virtual |
Reimplemented in Player.
|
protected |
|
protected |
|
private |
Are we walking before we were charmed?
|
private |
|
private |
|
protected |
|
private |
faction before charm
|
private |
| bool Unit::bRequestForcedVisibilityUpdate |
|
private |
|
protected |
|
protected |
|
protected |
| bool Unit::IsAIEnabled |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| int32 Unit::m_baseSpellCritChance |
| bool Unit::m_canDualWield |
|
protected |
|
protected |
|
private |
|
private |
|
private |
|
private |
|
private |
| ControlSet Unit::m_Controlled |
| bool Unit::m_ControlledByPlayer |
| bool Unit::m_CreatedByPlayer |
|
protected |
|
protected |
|
protected |
| uint16 Unit::m_delayed_unit_ai_notify_timer |
| uint16 Unit::m_delayed_unit_relocation_timer |
|
private |
|
private |
|
protected |
| EventProcessor Unit::m_Events |
| uint32 Unit::m_extraAttacks |
|
private |
|
protected |
|
private |
|
protected |
|
protected |
| uint32 Unit::m_last_notify_mstime |
| Position Unit::m_last_notify_position |
|
private |
| uint32 Unit::m_lastSanctuaryTime |
| float Unit::m_modAttackSpeedPct[3] |
|
protected |
| float Unit::m_modMeleeHitChance |
| float Unit::m_modRangedHitChance |
| float Unit::m_modSpellHitChance |
| SafeUnitPointer Unit::m_movedByPlayer |
| ObjectGuid Unit::m_ObjectSlot[MAX_GAMEOBJECT_SLOT] |
|
protected |
| PetAuraSet Unit::m_petAuras |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| SpellImmuneList Unit::m_spellImmune[MAX_SPELL_IMMUNITY] |
|
private |
| ObjectGuid Unit::m_SummonSlot[MAX_SUMMON_SLOT] |
|
protected |
| float Unit::m_threatModifier[MAX_SPELL_SCHOOL] |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| Movement::MoveSpline* Unit::movespline |
| bool Unit::NeedChangeAI |
| std::set<SafeUnitPointer*> Unit::SafeUnitPointerSet |